* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘mongolite’ ...
** this is package ‘mongolite’ version ‘4.1.0’
** package ‘mongolite’ successfully unpacked and MD5 sums checked
** using staged installation
Found pkg-config cflags and libs!
Using PKG_CFLAGS=
Using PKG_LIBS=-lsasl2 -lssl -lcrypto -lresolv
SASL has sasl_client_done.
Compiling with extra alignment.
** libs
using C compiler: ‘Debian clang version 22.1.8 (1+b1)’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp61gw2h/R.INSTALL183f5de1fc943/mongolite/src'
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson.c -o bson.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c client.c -o client.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c collection.c -o collection.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c cursor.c -o cursor.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c gridfs.c -o gridfs.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c hex.c -o hex.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongo_log.c -o mongo_log.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c reader.c -o reader.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c utils.c -o utils.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/bson-bcon.c -o bson/bson-bcon.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/bson-clock.c -o bson/bson-clock.o
In file included from bson/bson-clock.c:20:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:174:1: note: expanded from here
174 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson-clock.c:20:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:289:1: note: expanded from here
289 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson-clock.c:20:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson-clock.c:20:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:67:1: note: expanded from here
67 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson-clock.c:20:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson-clock.c:20:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson-clock.c:21:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson-clock.c:21:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
8 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/bson-context.c -o bson/bson-context.o
In file included from bson/bson-context.c:28:
In file included from common/mlib/intencode.h:24:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson-context.c:28:
In file included from common/mlib/intencode.h:24:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:17:1: note: expanded from here
17 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson-context.c:28:
In file included from common/mlib/intencode.h:24:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson-context.c:28:
common/mlib/intencode.h:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
166 | mlib_static_assert(sizeof(double) == sizeof(uint64_t));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
4 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c common/common-md5.c -o common/common-md5.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/error.c -o bson/error.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/bson-iso8601.c -o bson/bson-iso8601.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/bson-iter.c -o bson/bson-iter.o
In file included from bson/bson-iter.c:25:
In file included from common/mlib/intencode.h:24:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson-iter.c:25:
In file included from common/mlib/intencode.h:24:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson-iter.c:25:
In file included from common/mlib/intencode.h:24:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:285:1: note: expanded from here
285 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson-iter.c:25:
common/mlib/intencode.h:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
166 | mlib_static_assert(sizeof(double) == sizeof(uint64_t));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
4 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/bson-json.c -o bson/bson-json.o
bson/bson-json.c:870:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
870 | STACK_PUSH_DOC(bson_append_document_begin(STACK_BSON_PARENT, key, (int)len, STACK_BSON_CHILD));
| ^
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:870:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:173:1: note: expanded from here
173 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:870:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:285:7: note: expanded from macro 'STACK_PUSH'
285 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:870:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:23:1: note: expanded from here
23 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:870:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:80:1: note: expanded from here
80 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1127:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1127 | STACK_PUSH_DOC(bson_append_document_begin(STACK_BSON_PARENT, key, (int)len, STACK_BSON_CHILD));
| ^
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1127:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1127:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:285:7: note: expanded from macro 'STACK_PUSH'
285 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1127:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1127:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1235:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1235 | STACK_PUSH_DOC(
| ^
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1235:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1235:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:285:7: note: expanded from macro 'STACK_PUSH'
285 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1235:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:256:1: note: expanded from here
256 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1235:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1291:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1291 | STACK_PUSH_DOC(
| ^
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1291:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1291:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:285:7: note: expanded from macro 'STACK_PUSH'
285 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1291:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1291:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1297:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1297 | STACK_PUSH_SCOPE;
| ^
bson/bson-json.c:315:7: note: expanded from macro 'STACK_PUSH_SCOPE'
315 | STACK_PUSH(BSON_JSON_FRAME_SCOPE); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1297:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:315:7: note: expanded from macro 'STACK_PUSH_SCOPE'
315 | STACK_PUSH(BSON_JSON_FRAME_SCOPE); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1297:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:315:7: note: expanded from macro 'STACK_PUSH_SCOPE'
315 | STACK_PUSH(BSON_JSON_FRAME_SCOPE); \
| ^
bson/bson-json.c:285:7: note: expanded from macro 'STACK_PUSH'
285 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1297:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:315:7: note: expanded from macro 'STACK_PUSH_SCOPE'
315 | STACK_PUSH(BSON_JSON_FRAME_SCOPE); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1297:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:315:7: note: expanded from macro 'STACK_PUSH_SCOPE'
315 | STACK_PUSH(BSON_JSON_FRAME_SCOPE); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1302:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1302 | STACK_PUSH_DBPOINTER;
| ^
bson/bson-json.c:320:7: note: expanded from macro 'STACK_PUSH_DBPOINTER'
320 | STACK_PUSH(BSON_JSON_FRAME_DBPOINTER); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1302:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:320:7: note: expanded from macro 'STACK_PUSH_DBPOINTER'
320 | STACK_PUSH(BSON_JSON_FRAME_DBPOINTER); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1302:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:320:7: note: expanded from macro 'STACK_PUSH_DBPOINTER'
320 | STACK_PUSH(BSON_JSON_FRAME_DBPOINTER); \
| ^
bson/bson-json.c:285:7: note: expanded from macro 'STACK_PUSH'
285 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1302:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:320:7: note: expanded from macro 'STACK_PUSH_DBPOINTER'
320 | STACK_PUSH(BSON_JSON_FRAME_DBPOINTER); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:164:1: note: expanded from here
164 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1302:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:320:7: note: expanded from macro 'STACK_PUSH_DBPOINTER'
320 | STACK_PUSH(BSON_JSON_FRAME_DBPOINTER); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1606:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1606 | STACK_PUSH_DOC(
| ^
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:7:1: note: expanded from here
7 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1606:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1606:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:285:7: note: expanded from macro 'STACK_PUSH'
285 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1606:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1606:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:308:7: note: expanded from macro 'STACK_PUSH_DOC'
308 | STACK_PUSH(BSON_JSON_FRAME_DOC); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1610:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1610 | STACK_PUSH_SCOPE;
| ^
bson/bson-json.c:315:7: note: expanded from macro 'STACK_PUSH_SCOPE'
315 | STACK_PUSH(BSON_JSON_FRAME_SCOPE); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1610:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:315:7: note: expanded from macro 'STACK_PUSH_SCOPE'
315 | STACK_PUSH(BSON_JSON_FRAME_SCOPE); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1610:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:315:7: note: expanded from macro 'STACK_PUSH_SCOPE'
315 | STACK_PUSH(BSON_JSON_FRAME_SCOPE); \
| ^
bson/bson-json.c:285:7: note: expanded from macro 'STACK_PUSH'
285 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1610:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:315:7: note: expanded from macro 'STACK_PUSH_SCOPE'
315 | STACK_PUSH(BSON_JSON_FRAME_SCOPE); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:108:1: note: expanded from here
108 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1610:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:315:7: note: expanded from macro 'STACK_PUSH_SCOPE'
315 | STACK_PUSH(BSON_JSON_FRAME_SCOPE); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1753:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1753 | STACK_PUSH_SCOPE;
| ^
bson/bson-json.c:315:7: note: expanded from macro 'STACK_PUSH_SCOPE'
315 | STACK_PUSH(BSON_JSON_FRAME_SCOPE); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1753:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:315:7: note: expanded from macro 'STACK_PUSH_SCOPE'
315 | STACK_PUSH(BSON_JSON_FRAME_SCOPE); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1753:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:315:7: note: expanded from macro 'STACK_PUSH_SCOPE'
315 | STACK_PUSH(BSON_JSON_FRAME_SCOPE); \
| ^
bson/bson-json.c:285:7: note: expanded from macro 'STACK_PUSH'
285 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1753:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:315:7: note: expanded from macro 'STACK_PUSH_SCOPE'
315 | STACK_PUSH(BSON_JSON_FRAME_SCOPE); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1753:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:315:7: note: expanded from macro 'STACK_PUSH_SCOPE'
315 | STACK_PUSH(BSON_JSON_FRAME_SCOPE); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1779:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1779 | STACK_PUSH_ARRAY(_noop());
| ^
bson/bson-json.c:300:7: note: expanded from macro 'STACK_PUSH_ARRAY'
300 | STACK_PUSH(BSON_JSON_FRAME_ARRAY); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1779:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:300:7: note: expanded from macro 'STACK_PUSH_ARRAY'
300 | STACK_PUSH(BSON_JSON_FRAME_ARRAY); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1779:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:300:7: note: expanded from macro 'STACK_PUSH_ARRAY'
300 | STACK_PUSH(BSON_JSON_FRAME_ARRAY); \
| ^
bson/bson-json.c:285:7: note: expanded from macro 'STACK_PUSH'
285 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:23:1: note: expanded from here
23 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1779:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:300:7: note: expanded from macro 'STACK_PUSH_ARRAY'
300 | STACK_PUSH(BSON_JSON_FRAME_ARRAY); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:59:1: note: expanded from here
59 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1779:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:300:7: note: expanded from macro 'STACK_PUSH_ARRAY'
300 | STACK_PUSH(BSON_JSON_FRAME_ARRAY); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1785:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1785 | STACK_PUSH_ARRAY(bson_append_array_unsafe_begin(STACK_BSON_PARENT, key, (int)len, STACK_BSON_CHILD));
| ^
bson/bson-json.c:300:7: note: expanded from macro 'STACK_PUSH_ARRAY'
300 | STACK_PUSH(BSON_JSON_FRAME_ARRAY); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1785:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:300:7: note: expanded from macro 'STACK_PUSH_ARRAY'
300 | STACK_PUSH(BSON_JSON_FRAME_ARRAY); \
| ^
bson/bson-json.c:284:7: note: expanded from macro 'STACK_PUSH'
284 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1785:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:300:7: note: expanded from macro 'STACK_PUSH_ARRAY'
300 | STACK_PUSH(BSON_JSON_FRAME_ARRAY); \
| ^
bson/bson-json.c:285:7: note: expanded from macro 'STACK_PUSH'
285 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1785:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:300:7: note: expanded from macro 'STACK_PUSH_ARRAY'
300 | STACK_PUSH(BSON_JSON_FRAME_ARRAY); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-json.c:1785:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson-json.c:300:7: note: expanded from macro 'STACK_PUSH_ARRAY'
300 | STACK_PUSH(BSON_JSON_FRAME_ARRAY); \
| ^
bson/bson-json.c:295:7: note: expanded from macro 'STACK_PUSH'
295 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
55 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/bson-keys.c -o bson/bson-keys.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/memory.c -o bson/memory.o
In file included from bson/memory.c:24:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/memory.c:24:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:275:1: note: expanded from here
275 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/memory.c:24:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/memory.c:65:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
65 | mlib_diagnostic_push();
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:58:1: note: expanded from here
58 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/memory.c:65:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:115:1: note: expanded from here
115 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/memory.c:66:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
66 | mlib_msvc_warning(disable : 4232);
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:151:1: note: expanded from here
151 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/memory.c:73:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
73 | mlib_diagnostic_pop();
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:187:1: note: expanded from here
187 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/memory.c:73:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:244:1: note: expanded from here
244 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
8 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/bson-oid.c -o bson/bson-oid.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/bson-reader.c -o bson/bson-reader.o
In file included from bson/bson-reader.c:19:
In file included from common/mlib/intencode.h:24:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson-reader.c:19:
In file included from common/mlib/intencode.h:24:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson-reader.c:19:
In file included from common/mlib/intencode.h:24:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:285:1: note: expanded from here
285 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson-reader.c:19:
common/mlib/intencode.h:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
166 | mlib_static_assert(sizeof(double) == sizeof(uint64_t));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
4 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/bson-string.c -o bson/bson-string.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/bson-timegm.c -o bson/bson-timegm.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/bson-utf8.c -o bson/bson-utf8.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/bson-value.c -o bson/bson-value.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/bson.c -o bson/bson.o
In file included from bson/bson.c:31:
In file included from common/mlib/intencode.h:24:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson.c:31:
In file included from common/mlib/intencode.h:24:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson.c:31:
In file included from common/mlib/intencode.h:24:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/bson.c:31:
common/mlib/intencode.h:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
166 | mlib_static_assert(sizeof(double) == sizeof(uint64_t));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:24:1: note: expanded from here
24 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:402:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
402 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:402:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:402:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:402:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:402:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:403:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
403 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:403:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:403:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:15:1: note: expanded from here
15 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:403:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:51:1: note: expanded from here
51 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:403:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:108:1: note: expanded from here
108 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:404:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
404 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:144:1: note: expanded from here
144 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:404:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:201:1: note: expanded from here
201 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:404:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:237:1: note: expanded from here
237 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:404:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:17:1: note: expanded from here
17 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:404:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:422:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
422 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &empty, sizeof(empty));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:422:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:173:1: note: expanded from here
173 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:422:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:422:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:422:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:672:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
672 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:672:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:672:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:672:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:255:1: note: expanded from here
255 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:672:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:673:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
673 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:673:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:673:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:673:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:673:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:674:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
674 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:674:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:674:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:674:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:674:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:694:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
694 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, _bson_data(array), array->len);
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:694:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:694:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:694:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:164:1: note: expanded from here
164 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:694:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:743:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
743 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:743:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:59:1: note: expanded from here
59 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:743:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:743:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:743:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:744:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
744 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:232:1: note: expanded from here
232 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:744:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:744:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:744:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:108:1: note: expanded from here
108 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:744:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:745:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
745 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:201:1: note: expanded from here
201 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:745:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:745:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:745:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:88:1: note: expanded from here
88 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:745:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:757:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
757 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &length_le, sizeof(length_le));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:181:1: note: expanded from here
181 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:757:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:238:1: note: expanded from here
238 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:757:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:757:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:757:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:758:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
758 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &subtype_arg, sizeof(subtype_arg));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:758:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:758:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:758:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:758:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:759:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
759 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &length_arg, sizeof(length_arg));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:759:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:759:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:759:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:247:1: note: expanded from here
247 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:759:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:760:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
760 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, binary, length);
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:760:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:760:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:760:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:760:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:766:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
766 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &length_arg, sizeof(length_arg));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:766:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:766:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:766:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:766:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:767:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
767 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &subtype_arg, sizeof(subtype_arg));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:767:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:767:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:767:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:164:1: note: expanded from here
164 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:767:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:768:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
768 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, binary, length);
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:257:1: note: expanded from here
257 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:768:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:768:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:768:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:768:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:891:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
891 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:891:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:891:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:891:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:108:1: note: expanded from here
108 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:891:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:892:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
892 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:892:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:892:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:892:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:892:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:893:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
893 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:893:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:893:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:893:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:893:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:897:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
897 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &byte_arg, sizeof(byte_arg));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:897:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:897:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:247:1: note: expanded from here
247 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:897:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:29:1: note: expanded from here
29 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:897:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:86:1: note: expanded from here
86 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:951:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
951 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:125:1: note: expanded from here
125 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:951:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:951:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:218:1: note: expanded from here
218 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:951:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:254:1: note: expanded from here
254 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:951:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:952:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
952 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:952:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:952:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:952:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:952:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:953:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
953 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:953:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:953:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:953:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:201:1: note: expanded from here
201 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:953:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:954:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
954 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &length_arg, sizeof(length_arg));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:954:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:954:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:954:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:181:1: note: expanded from here
181 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:954:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:238:1: note: expanded from here
238 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:955:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
955 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, javascript, length);
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:955:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:955:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:955:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:955:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1021:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1021 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:244:1: note: expanded from here
244 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1021:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1021:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1021:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1021:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1022:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1022 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1022:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1022:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1022:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1022:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1023:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1023 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1023:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1023:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1023:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1023:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1024:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1024 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &total_length_arg, sizeof(total_length_arg));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1024:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1024:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1024:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1024:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1025:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1025 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &js_length_arg, sizeof(js_length_arg));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1025:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1025:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1025:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1025:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:67:1: note: expanded from here
67 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1026:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1026 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, javascript, js_length);
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1026:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1026:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1026:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:232:1: note: expanded from here
232 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1026:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1027:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1027 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, _bson_data(scope), scope->len);
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1027:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1027:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1027:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1027:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1080:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1080 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:59:1: note: expanded from here
59 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1080:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1080:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1080:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1080:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1081:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1081 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1081:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1081:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1081:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1081:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1082:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1082 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:256:1: note: expanded from here
256 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1082:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1082:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1082:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1082:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1083:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1083 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &length_arg, sizeof(length_arg));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1083:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1083:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:68:1: note: expanded from here
68 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1083:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1083:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:161:1: note: expanded from here
161 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1084:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1084 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, collection, length);
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1084:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1084:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1084:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1084:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1085:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1085 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, oid->bytes, sizeof(oid->bytes));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1085:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1085:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1085:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1085:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1132:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1132 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1132:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1132:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1132:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:17:1: note: expanded from here
17 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1132:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1133:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1133 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1133:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1133:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1133:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:247:1: note: expanded from here
247 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1133:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1134:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1134 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1134:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1134:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1134:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1134:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1135:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1135 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, _bson_data(value), value->len);
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1135:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1135:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1135:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1135:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1158:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1158 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1158:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1158:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1158:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1158:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1159:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1159 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:12:1: note: expanded from here
12 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1159:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1159:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1159:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1159:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1160:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1160 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1160:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1160:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1160:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1160:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1161:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1161 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &value_arg, sizeof(value_arg));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1161:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1161:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1161:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1161:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1184:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1184 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:187:1: note: expanded from here
187 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1184:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:244:1: note: expanded from here
244 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1184:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1184:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1184:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1185:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1185 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1185:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1185:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:256:1: note: expanded from here
256 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1185:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1185:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1186:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1186 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1186:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1186:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:222:1: note: expanded from here
222 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1186:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1186:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1187:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1187 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &value_arg, sizeof(value_arg));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1187:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1187:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1187:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1187:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1210:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1210 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1210:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1210:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1210:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1210:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1211:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1211 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1211:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1211:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1211:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1211:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1212:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1212 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1212:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1212:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1212:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1212:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1213:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1213 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &value_arg, sizeof(value_arg));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1213:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1213:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1213:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:125:1: note: expanded from here
125 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1213:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1239:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1239 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1239:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1239:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1239:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1239:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1240:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1240 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:201:1: note: expanded from here
201 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1240:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1240:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1240:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:78:1: note: expanded from here
78 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1240:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1241:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1241 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:171:1: note: expanded from here
171 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1241:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1241:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:14:1: note: expanded from here
14 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1241:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:50:1: note: expanded from here
50 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1241:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:107:1: note: expanded from here
107 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1242:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1242 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &value_arg, sizeof(value_arg));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:143:1: note: expanded from here
143 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1242:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:200:1: note: expanded from here
200 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1242:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:236:1: note: expanded from here
236 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1242:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:17:1: note: expanded from here
17 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1242:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1415:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1415 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1415:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1415:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1415:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:247:1: note: expanded from here
247 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1415:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1416:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1416 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1416:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1416:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1416:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1416:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1417:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1417 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1417:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1417:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1417:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1417:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1438:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1438 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1438:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1438:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1438:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1438:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1439 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:12:1: note: expanded from here
12 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1440:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1440 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1440:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1440:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1440:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1440:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1461:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1461 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1461:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:21:1: note: expanded from here
21 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1461:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1461:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1461:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1462:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1462 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1462:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1462:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1462:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:70:1: note: expanded from here
70 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1462:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1463:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1463 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1463:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1463:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:256:1: note: expanded from here
256 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1463:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1463:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1485:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1485 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1485:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1485:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1485:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1485:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1486:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1486 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:106:1: note: expanded from here
106 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1486:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1486:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1486:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1486:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1487:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1487 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1487:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1487:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1487:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1487:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1488:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1488 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, value->bytes, sizeof(value->bytes));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1488:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1488:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1488:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1488:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1534:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1534 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:29:1: note: expanded from here
29 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1534:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:86:1: note: expanded from here
86 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1534:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1534:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:158:1: note: expanded from here
158 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1534:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1535:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1535 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1535:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:59:1: note: expanded from here
59 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1535:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1535:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1535:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1536:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1536 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1536:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1536:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1536:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:108:1: note: expanded from here
108 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1536:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1537:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1537 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, regex, regex_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1537:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:21:1: note: expanded from here
21 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1537:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1537:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1537:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1538:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1538 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1538:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1538:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1538:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1538:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1539:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1539 | BSON_APPEND_BYTES_ADD_ARGUMENT(
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1539:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1539:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1539:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1539:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1581:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1581 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1581:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1581:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1581:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:256:1: note: expanded from here
256 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1581:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1582:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1582 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1582:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1582:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1582:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1582:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1583:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1583 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1583:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1583:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1583:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:201:1: note: expanded from here
201 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1583:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1584:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1584 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &ulength_arg, sizeof(ulength_arg));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1584:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1584:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1584:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:181:1: note: expanded from here
181 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1584:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:238:1: note: expanded from here
238 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1585:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1585 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, value, ulength);
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1585:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1585:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1585:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1585:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1586:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1586 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1586:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1586:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1586:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1586:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1625:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1625 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1625:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1625:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1625:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1625:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1626:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1626 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:200:1: note: expanded from here
200 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1626:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1626:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1626:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1626:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1627:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1627 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1627:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1627:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:12:1: note: expanded from here
12 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1627:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1627:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1628:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1628 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &ulength_arg, sizeof(ulength_arg));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1628:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1628:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1628:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:17:1: note: expanded from here
17 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1628:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1629:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1629 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, value, ulength);
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1629:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1629:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1629:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1629:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1630:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1630 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:78:1: note: expanded from here
78 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1630:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1630:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:171:1: note: expanded from here
171 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1630:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1630:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1669:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1669 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1669:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1669:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:162:1: note: expanded from here
162 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1669:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1669:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:255:1: note: expanded from here
255 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1670:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1670 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1670:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1670:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1670:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:171:1: note: expanded from here
171 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1670:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1671:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1671 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1671:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1671:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1671:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1671:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1672:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1672 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &value, sizeof(value));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1672:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1672:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1672:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:108:1: note: expanded from here
108 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1672:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1706:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1706 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1706:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1706:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1706:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1706:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1707:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1707 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1707:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:255:1: note: expanded from here
255 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1707:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1707:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:71:1: note: expanded from here
71 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1707:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1708:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1708 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:164:1: note: expanded from here
164 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1708:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1708:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1708:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1708:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1709:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1709 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &value_arg, sizeof(value_arg));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1709:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1709:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1709:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1709:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1744:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1744 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &type, sizeof(type));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1744:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1744:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1744:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:238:1: note: expanded from here
238 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1744:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1745:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1745 | BSON_APPEND_BYTES_ADD_CHECKED_STRING(args, key, key_length);
| ^
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1745:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:140:1: note: expanded from here
140 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1745:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1745:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1745:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:336:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_CHECKED_STRING'
336 | BSON_APPEND_BYTES_ADD_ARGUMENT((_list), (_key), BSON_CONCAT(key_ulen_, __LINE__))
| ^
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1746:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1746 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, &gZero, sizeof(gZero));
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1746:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1746:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1746:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:1746:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:2524:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2524 | BSON_APPEND_BYTES_ADD_ARGUMENT(args, _bson_data(src) + 4, src->len - 5u);
| ^
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:2524:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:301:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
301 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:2524:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:302:4: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
302 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:2524:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:275:1: note: expanded from here
275 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson.c:2524:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
bson/bson.c:304:7: note: expanded from macro 'BSON_APPEND_BYTES_ADD_ARGUMENT'
304 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
519 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/bson-decimal128.c -o bson/bson-decimal128.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/bson-vector.c -o bson/bson-vector.o
bson/bson-vector.c:354:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
354 | mlib_diagnostic_push();
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:66:1: note: expanded from here
66 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-vector.c:354:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:123:1: note: expanded from here
123 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-vector.c:355:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
355 | mlib_msvc_warning(disable : 4146);
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:159:1: note: expanded from here
159 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-vector.c:357:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
357 | mlib_diagnostic_pop();
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:195:1: note: expanded from here
195 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
bson/bson-vector.c:357:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
5 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c bson/validate.c -o bson/validate.o
In file included from bson/validate.c:34:
In file included from common/mlib/intencode.h:24:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/validate.c:34:
In file included from common/mlib/intencode.h:24:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/validate.c:34:
In file included from common/mlib/intencode.h:24:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:285:1: note: expanded from here
285 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from bson/validate.c:34:
common/mlib/intencode.h:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
166 | mlib_static_assert(sizeof(double) == sizeof(uint64_t));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
4 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c jsonsl/jsonsl.c -o jsonsl/jsonsl.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-array.c -o mongoc/mongoc-array.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c common/common-b64.c -o common/common-b64.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-buffer.c -o mongoc/mongoc-buffer.o
mongoc/mongoc-buffer.c:135:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
135 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:255:1: note: expanded from here
255 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:135:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:15:1: note: expanded from here
15 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:135:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:51:1: note: expanded from here
51 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:135:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:88:1: note: expanded from here
88 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:135:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:152:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
152 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:152:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:152:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:152:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:65:1: note: expanded from here
65 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:152:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:177:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
177 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:158:1: note: expanded from here
158 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:177:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:177:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:177:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:177:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:198:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
198 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:198:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:198:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:198:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:15:1: note: expanded from here
15 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:198:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:208:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
208 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:208:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:208:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:208:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:252:1: note: expanded from here
252 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:208:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:213:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
213 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:213:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:213:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:213:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:213:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:235:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
235 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:235:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:235:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:235:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:235:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:245:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
245 | RETURN((ssize_t)buffer->len);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:50:1: note: expanded from here
50 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:245:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:107:1: note: expanded from here
107 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:245:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:143:1: note: expanded from here
143 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:245:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:180:1: note: expanded from here
180 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:245:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:237:1: note: expanded from here
237 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:261:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
261 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:22:1: note: expanded from here
22 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:261:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:79:1: note: expanded from here
79 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:261:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:115:1: note: expanded from here
115 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:261:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:261:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:269:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
269 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:269:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:269:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:269:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:269:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:281:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
281 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:281:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:281:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:281:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:281:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:285:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
285 | RETURN((ssize_t)buffer->len);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:285:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:285:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:285:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:285:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:311:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
311 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:311:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:311:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:9:1: note: expanded from here
9 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:311:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:311:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:328:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
328 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:328:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:328:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:328:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:328:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:337:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
337 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:337:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:337:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:337:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-buffer.c:337:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
75 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-bulk-operation.c -o mongoc/mongoc-bulk-operation.o
In file included from mongoc/mongoc-bulk-operation.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-bulk-operation.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-bulk-operation.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-bulk-operation.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-bulk-operation.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:282:1: note: expanded from here
282 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-bulk-operation.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-bulk-operation.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-bulk-operation.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-bulk-operation.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-bulk-operation.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:156:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
156 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:294:1: note: expanded from here
294 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:156:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:50:1: note: expanded from here
50 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:156:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:86:1: note: expanded from here
86 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:156:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:123:1: note: expanded from here
123 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:156:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:180:1: note: expanded from here
180 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:172:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
172 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:172:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:172:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:172:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:172:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:194:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
194 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:194:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:194:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:194:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:194:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:218:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
218 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:218:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:218:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:218:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:218:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:231:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
231 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:231:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:231:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:231:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:7:1: note: expanded from here
7 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:231:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:237:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
237 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:237:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:237:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:237:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:237:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:243:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
243 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:243:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:243:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:243:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:243:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:256:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
256 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:256:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:256:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:256:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:256:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:262:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
262 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:262:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:262:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:262:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:262:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:268:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
268 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:268:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:268:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:268:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:268:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:278:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
278 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:278:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:278:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:278:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:278:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:280:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
280 | BULK_EXIT_IF_PRIOR_ERROR;
| ^
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:280:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:280:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:280:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:280:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:290:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
290 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:290:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:290:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:290:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:290:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:300:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
300 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:300:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:300:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:300:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:7:1: note: expanded from here
7 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:300:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:302:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
302 | BULK_EXIT_IF_PRIOR_ERROR;
| ^
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:302:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:302:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:302:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:302:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:312:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
312 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:312:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:312:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:312:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:312:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:318:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
318 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:318:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:318:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:318:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:318:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:327:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
327 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:21:1: note: expanded from here
21 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:327:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:78:1: note: expanded from here
78 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:327:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:114:1: note: expanded from here
114 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:327:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:151:1: note: expanded from here
151 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:327:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:208:1: note: expanded from here
208 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:342:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
342 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:244:1: note: expanded from here
244 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:342:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:342:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:342:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:342:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:350:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
350 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:350:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:350:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:350:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:350:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:354:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
354 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:354:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:354:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:354:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:354:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:366:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
366 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:366:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:366:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:366:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:366:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:384:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
384 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:384:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:384:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:384:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:384:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:68:1: note: expanded from here
68 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:439:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
439 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:439:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:162:1: note: expanded from here
162 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:439:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:439:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:439:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:476:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
476 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:476:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:476:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:476:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:476:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:483:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
483 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:58:1: note: expanded from here
58 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:483:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:115:1: note: expanded from here
115 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:483:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:151:1: note: expanded from here
151 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:483:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:483:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:495:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
495 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:495:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:495:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:495:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:495:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:500:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
500 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:500:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:500:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:88:1: note: expanded from here
88 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:500:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:125:1: note: expanded from here
125 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:500:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:513:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
513 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:218:1: note: expanded from here
218 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:513:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:513:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:513:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:513:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:519:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
519 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:519:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:519:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:519:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:519:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:533:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
533 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:533:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:533:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:533:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:533:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:546:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
546 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:546:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:546:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:546:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:546:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:68:1: note: expanded from here
68 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:552:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
552 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:552:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:161:1: note: expanded from here
161 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:552:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:552:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:552:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:566:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
566 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:566:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:566:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:566:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:566:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:575:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
575 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:575:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:575:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:575:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:575:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:577:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
577 | BULK_EXIT_IF_PRIOR_ERROR;
| ^
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:577:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:577:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:577:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:577:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:594:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
594 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:594:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:594:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:594:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:594:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:606:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
606 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:606:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:606:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:606:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:606:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:608:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
608 | BULK_EXIT_IF_PRIOR_ERROR;
| ^
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:608:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:608:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:608:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:608:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-bulk-operation.c:122:10: note: expanded from macro 'BULK_EXIT_IF_PRIOR_ERROR'
122 | EXIT; \
| ^
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:623:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
623 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:623:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:623:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:623:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:623:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:637:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
637 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:637:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:637:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:637:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:637:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:68:1: note: expanded from here
68 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:646:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
646 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:108:1: note: expanded from here
108 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:646:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:646:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:201:1: note: expanded from here
201 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:646:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:238:1: note: expanded from here
238 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:646:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:650:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
650 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:650:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:650:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:650:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:650:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:21:1: note: expanded from here
21 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:661:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
661 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:58:1: note: expanded from here
58 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:661:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:115:1: note: expanded from here
115 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:661:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:151:1: note: expanded from here
151 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:661:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:661:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:669:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
669 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:669:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:669:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:669:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:669:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:681:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
681 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:681:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:681:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:90:1: note: expanded from here
90 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:681:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:681:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:691:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
691 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:691:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:691:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:691:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:691:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:158:1: note: expanded from here
158 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:705:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
705 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:705:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:705:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:705:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:705:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:715:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
715 | GOTO(err);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:715:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:715:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:715:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:715:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:721:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
721 | GOTO(err);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:721:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:721:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:721:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:721:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:732:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
732 | GOTO(err);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:732:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:732:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:732:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:732:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:739:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
739 | GOTO(err);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:739:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:739:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:739:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:739:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:749:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
749 | GOTO(err);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:749:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:749:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:749:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:749:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:754:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
754 | GOTO(err);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:29:1: note: expanded from here
29 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:754:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:86:1: note: expanded from here
86 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:754:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:754:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:159:1: note: expanded from here
159 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:754:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:216:1: note: expanded from here
216 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:772:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
772 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:252:1: note: expanded from here
252 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:772:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:772:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:772:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:772:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:794:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
794 | GOTO(cleanup);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:222:1: note: expanded from here
222 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:794:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:30:1: note: expanded from here
30 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:794:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:66:1: note: expanded from here
66 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:794:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:794:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:810:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
810 | RETURN(ret ? bulk->server_id : 0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:810:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:810:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:810:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:810:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:814:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
814 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:814:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:814:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:814:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-bulk-operation.c:814:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
300 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-client-pool.c -o mongoc/mongoc-client-pool.o
In file included from mongoc/mongoc-client-pool.c:22:
In file included from ./mongoc/mongoc-client-pool-private.h:26:
In file included from ./mongoc/mongoc-topology-private.h:23:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-pool.c:22:
In file included from ./mongoc/mongoc-client-pool-private.h:26:
In file included from ./mongoc/mongoc-topology-private.h:23:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-pool.c:22:
In file included from ./mongoc/mongoc-client-pool-private.h:26:
In file included from ./mongoc/mongoc-topology-private.h:23:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-pool.c:22:
In file included from ./mongoc/mongoc-client-pool-private.h:26:
In file included from ./mongoc/mongoc-topology-private.h:23:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-pool.c:22:
In file included from ./mongoc/mongoc-client-pool-private.h:26:
In file included from ./mongoc/mongoc-topology-private.h:23:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-pool.c:22:
In file included from ./mongoc/mongoc-client-pool-private.h:26:
In file included from ./mongoc/mongoc-topology-private.h:23:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:285:1: note: expanded from here
285 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-pool.c:22:
In file included from ./mongoc/mongoc-client-pool-private.h:26:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:30:1: note: expanded from here
30 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-pool.c:22:
In file included from ./mongoc/mongoc-client-pool-private.h:26:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:318:1: note: expanded from here
318 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-pool.c:22:
In file included from ./mongoc/mongoc-client-pool-private.h:26:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-pool.c:22:
In file included from ./mongoc/mongoc-client-pool-private.h:26:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:158:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
158 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:158:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:158:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:158:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:158:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:114:1: note: expanded from here
114 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:190:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
190 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:190:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:190:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:190:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:29:1: note: expanded from here
29 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:190:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:86:1: note: expanded from here
86 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:231:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
231 | RETURN(pool);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:231:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:231:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:231:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:231:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:240:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
240 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:240:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:240:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:240:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:240:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:243:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
243 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:243:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:243:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:243:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:243:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:275:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
275 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:275:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:275:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:275:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:275:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:322:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
322 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:29:1: note: expanded from here
29 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:322:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:86:1: note: expanded from here
86 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:322:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:322:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:159:1: note: expanded from here
159 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:322:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:216:1: note: expanded from here
216 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:347:19: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
347 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:33:1: note: expanded from here
33 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:347:19: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:90:1: note: expanded from here
90 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:347:19: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:347:19: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:347:19: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:350:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
350 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:257:1: note: expanded from here
257 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:350:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:350:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:350:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:350:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:355:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
355 | GOTO(again);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:355:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:31:1: note: expanded from here
31 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:355:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:67:1: note: expanded from here
67 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:355:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:355:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:161:1: note: expanded from here
161 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:363:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
363 | RETURN(client);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:200:1: note: expanded from here
200 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:363:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:363:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:363:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:363:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:140:1: note: expanded from here
140 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:372:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
372 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:372:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:233:1: note: expanded from here
233 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:372:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:372:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:372:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
392 | RETURN(client);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:445:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
445 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:445:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:445:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:445:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:3:1: note: expanded from here
3 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:445:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:501:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
501 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:501:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:161:1: note: expanded from here
161 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:501:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:501:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:501:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:522:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
522 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:80:1: note: expanded from here
80 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:522:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:522:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:173:1: note: expanded from here
173 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:522:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:522:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:529:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
529 | RETURN(size);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:70:1: note: expanded from here
70 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:529:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:529:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:529:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:200:1: note: expanded from here
200 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:529:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:538:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
538 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:538:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:538:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:140:1: note: expanded from here
140 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:538:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:538:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:545:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
545 | RETURN(num_pushed);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:22:1: note: expanded from here
22 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:545:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:79:1: note: expanded from here
79 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:545:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:115:1: note: expanded from here
115 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:545:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:545:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:561:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
561 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:561:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:561:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:90:1: note: expanded from here
90 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:561:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:561:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:568:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
568 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:568:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:568:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:568:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-pool.c:568:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
115 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-client.c -o mongoc/mongoc-client.o
In file included from mongoc/mongoc-client.c:36:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:253:1: note: expanded from here
253 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client.c:36:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client.c:36:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client.c:36:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client.c:36:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client.c:36:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:258:1: note: expanded from here
258 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client.c:37:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client.c:37:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client.c:37:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client.c:37:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:335:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
335 | DNS_ERROR("Invalid record in SRV answer for \"%s\": \"%s\"", hostname, _mongoc_hstrerror(h_errno));
| ^
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:335:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:335:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:335:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:335:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:339:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
339 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:339:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:339:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:339:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:339:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:356:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
356 | DNS_ERROR("Invalid TXT record size %hu for \"%s\"", total, hostname);
| ^
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:356:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:356:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:356:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:356:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:370:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
370 | DNS_ERROR("Invalid TXT string size %hu at %hu in %hu-byte TXT record for \"%s\"",
| ^
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:370:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:370:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:370:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:370:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:438:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
438 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:438:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:438:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:438:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:438:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:479:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
479 | DNS_ERROR("Failed to look up %s record \"%s\": %s", rr_type_name, hostname, _mongoc_hstrerror(h_errno));
| ^
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:479:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:479:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:479:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:479:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:484:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
484 | DNS_ERROR("Invalid %s answer for \"%s\"", rr_type_name, hostname);
| ^
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:3:1: note: expanded from here
3 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:484:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:484:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:484:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:484:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:489:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
489 | DNS_ERROR("No %s records for \"%s\"", rr_type_name, hostname);
| ^
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:489:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:489:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:489:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:489:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:496:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
496 | DNS_ERROR(
| ^
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:496:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:496:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:496:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:496:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:516:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
516 | DNS_ERROR("Multiple TXT records for \"%s\"", hostname);
| ^
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:516:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:516:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:516:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:516:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:528:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
528 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:528:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:528:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:528:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:528:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:533:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
533 | DNS_ERROR("No matching %s records for \"%s\"", rr_type_name, hostname);
| ^
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:533:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:533:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:533:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:533:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-client.c:108:7: note: expanded from macro 'DNS_ERROR'
108 | GOTO(done); \
| ^
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:549:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
549 | RETURN(dns_success && callback_success);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:549:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:549:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:549:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:549:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:643:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
643 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:66:1: note: expanded from here
66 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:643:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:123:1: note: expanded from here
123 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:643:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:159:1: note: expanded from here
159 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:643:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:643:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:658:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
658 | TRACE("DNS lookup for %s", host->host);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:658:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:658:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:658:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:658:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:663:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
663 | TRACE("Failed to resolve %s", host->host);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:29:1: note: expanded from here
29 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:663:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:86:1: note: expanded from here
86 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:663:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:663:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:159:1: note: expanded from here
159 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:663:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:216:1: note: expanded from here
216 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:666:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
666 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:252:1: note: expanded from here
252 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:666:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:666:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:666:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:666:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:699:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
699 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:699:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:29:1: note: expanded from here
29 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:699:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:65:1: note: expanded from here
65 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:699:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:102:1: note: expanded from here
102 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:699:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:159:1: note: expanded from here
159 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:739:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
739 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:195:1: note: expanded from here
195 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:739:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:739:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:739:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:739:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:751:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
751 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:751:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:751:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:23:1: note: expanded from here
23 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:751:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:751:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:117:1: note: expanded from here
117 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:758:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
758 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:758:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:758:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:758:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:758:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:765:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
765 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:765:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:765:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:765:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:765:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:770:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
770 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:90:1: note: expanded from here
90 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:770:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:770:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:770:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:770:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1075:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1075 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:79:1: note: expanded from here
79 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1075:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1075:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1075:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1075:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1106:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1106 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1106:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1106:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1106:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1106:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1112:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1112 | RETURN(client);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1112:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1112:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1112:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:158:1: note: expanded from here
158 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1112:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1289:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1289 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1289:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1289:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1289:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1289:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1294:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1294 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1294:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1294:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1294:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1294:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1309:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1309 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1309:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:30:1: note: expanded from here
30 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1309:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:66:1: note: expanded from here
66 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1309:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1309:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1317:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1317 | RETURN(cs);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1317:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1317:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1317:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1317:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1696:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1696 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1696:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:253:1: note: expanded from here
253 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1696:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1696:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:71:1: note: expanded from here
71 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1696:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1749:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1749 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:164:1: note: expanded from here
164 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1749:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1749:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1749:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1749:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1761:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1761 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1761:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:189:1: note: expanded from here
189 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1761:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1761:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1761:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1783:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1783 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1783:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1783:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1783:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1783:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1786:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1786 | RETURN(_mongoc_client_retryable_read_command_with_stream(client, parts, server_stream, reply, error));
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1786:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1786:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1786:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1786:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1803:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1803 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1803:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1803:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1803:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1803:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1810:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1810 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1810:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1810:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:125:1: note: expanded from here
125 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1810:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:162:1: note: expanded from here
162 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1810:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1836:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1836 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:255:1: note: expanded from here
255 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1836:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1836:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1836:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1836:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1894:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1894 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:222:1: note: expanded from here
222 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1894:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:33:1: note: expanded from here
33 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1894:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1894:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:106:1: note: expanded from here
106 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1894:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1909:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1909 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1909:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:14:1: note: expanded from here
14 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1909:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:50:1: note: expanded from here
50 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1909:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:87:1: note: expanded from here
87 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1909:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:144:1: note: expanded from here
144 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1916:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1916 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:181:1: note: expanded from here
181 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1916:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:238:1: note: expanded from here
238 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1916:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1916:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1916:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1925:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1925 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1925:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1925:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1925:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1925:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1933:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1933 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1933:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1933:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1933:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1933:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:50:1: note: expanded from here
50 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1942:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1942 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:87:1: note: expanded from here
87 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1942:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:144:1: note: expanded from here
144 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1942:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:180:1: note: expanded from here
180 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1942:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:217:1: note: expanded from here
217 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1942:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1949:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1949 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1949:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1949:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1949:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1949:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1976:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1976 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1976:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1976:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1976:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1976:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1980:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1980 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1980:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1980:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1980:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1980:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1987:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1987 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1987:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1987:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1987:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1987:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1995:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1995 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1995:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1995:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1995:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:1995:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2025:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2025 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2025:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2025:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:23:1: note: expanded from here
23 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2025:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2025:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:117:1: note: expanded from here
117 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2137:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2137 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2137:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2137:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2137:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2137:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2144:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2144 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2144:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2144:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2144:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:258:1: note: expanded from here
258 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2144:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:58:1: note: expanded from here
58 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2158:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2158 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2158:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:151:1: note: expanded from here
151 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2158:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:187:1: note: expanded from here
187 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2158:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2158:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2161:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2161 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2161:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2161:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2161:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2161:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2186:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2186 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2186:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2186:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2186:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2186:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2210:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2210 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2210:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2210:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2210:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2210:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2227:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2227 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2227:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:50:1: note: expanded from here
50 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2227:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:86:1: note: expanded from here
86 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2227:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:123:1: note: expanded from here
123 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2227:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:180:1: note: expanded from here
180 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2235:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2235 | GOTO(fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:217:1: note: expanded from here
217 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2235:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2235:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2235:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2235:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2241:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2241 | GOTO(fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2241:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2241:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2241:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2241:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2249:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2249 | RETURN(ok);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2249:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2249:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2249:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2249:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2552:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2552 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2552:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2552:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:247:1: note: expanded from here
247 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2552:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2552:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2558:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2558 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2558:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2558:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2558:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:252:1: note: expanded from here
252 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2558:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2563:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2563 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2563:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2563:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2563:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client.c:2563:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:30:1: note: expanded from here
30 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
325 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-cluster.c -o mongoc/mongoc-cluster.o
In file included from mongoc/mongoc-cluster.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:282:1: note: expanded from here
282 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster.c:33:
common/mlib/intencode.h:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
166 | mlib_static_assert(sizeof(double) == sizeof(uint64_t));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:139:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
139 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:139:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:139:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:139:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:139:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:190:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
190 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:190:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:111:1: note: expanded from here
111 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:190:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:190:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:190:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:512:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
512 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:512:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:512:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:512:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:512:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:522:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
522 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:522:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:522:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:111:1: note: expanded from here
111 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:522:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:522:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:528:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
528 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:528:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:43:1: note: expanded from here
43 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:528:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:79:1: note: expanded from here
79 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:528:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:528:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:173:1: note: expanded from here
173 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:541:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
541 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:541:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:24:1: note: expanded from here
24 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:541:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:541:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:541:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1003:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1003 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:102:1: note: expanded from here
102 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1003:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:159:1: note: expanded from here
159 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1003:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1003:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:43:1: note: expanded from here
43 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1003:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1068:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1068 | bsonParse(hello_reply,
| ^
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1068:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1068:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1068:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1068:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1068:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1068:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1118:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1118 | RETURN(ret_handshake_sd);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1118:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1118:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1118:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1118:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1155:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1155 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1155:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1155:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1155:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1155:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1290:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1290 | TRACE("%s", "X509: got username from URI");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1290:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1290:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:247:1: note: expanded from here
247 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1290:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:30:1: note: expanded from here
30 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1290:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:87:1: note: expanded from here
87 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1593:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1593 | bsonParse(*reply, find(key("done"), storeBool(is_done)));
| ^
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1593:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1593:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1593:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1593:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1593:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1593:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1688:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1688 | TRACE("SCRAM: authenticating (step %d)", scram->step);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:125:1: note: expanded from here
125 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1688:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1688:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1688:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1688:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1709:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1709 | TRACE("%s", "SCRAM: authenticated");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1709:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1709:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1709:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1709:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1757:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1757 | TRACE("%s", "SCRAM: authenticated");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1757:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:173:1: note: expanded from here
173 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1757:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1757:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1757:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1832:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1832 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1832:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1832:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1832:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1832:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1881:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1881 | TRACE("%s", "Authentication succeeded");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1881:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1881:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:162:1: note: expanded from here
162 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1881:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1881:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1884:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1884 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1884:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1884:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1884:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1884:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1903:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1903 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:9:1: note: expanded from here
9 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1903:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:66:1: note: expanded from here
66 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1903:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:102:1: note: expanded from here
102 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1903:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:139:1: note: expanded from here
139 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1903:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1918:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1918 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:232:1: note: expanded from here
232 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1918:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1918:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1918:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:1918:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2013:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2013 | bsonParse(*speculative_auth_response, require(allOf(key("done"), isTrue), nop));
| ^
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2013:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2013:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2013:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2013:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2013:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2013:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:106:1: note: expanded from here
106 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2029:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2029 | TRACE("%s", "Speculative authentication succeeded");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2029:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:44:1: note: expanded from here
44 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2029:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:80:1: note: expanded from here
80 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2029:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:117:1: note: expanded from here
117 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2029:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:174:1: note: expanded from here
174 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2075:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2075 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2075:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2075:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2075:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2075:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2082:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2082 | GOTO(error);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2082:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2082:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2082:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:78:1: note: expanded from here
78 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2082:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2085:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2085 | TRACE("Adding new server to cluster: %s", host->host_and_port);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:171:1: note: expanded from here
171 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2085:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2085:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:12:1: note: expanded from here
12 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2085:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2085:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:106:1: note: expanded from here
106 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2093:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2093 | GOTO(error);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:143:1: note: expanded from here
143 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2093:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:200:1: note: expanded from here
200 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2093:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:236:1: note: expanded from here
236 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2093:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2093:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2107:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2107 | GOTO(error);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2107:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2107:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2107:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2107:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2125:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2125 | GOTO(error);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2125:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:140:1: note: expanded from here
140 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2125:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2125:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2125:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2144:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2144 | RETURN(cluster_node);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2144:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2144:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2144:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2144:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2162:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2162 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2162:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2162:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2162:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2162:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2236:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2236 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:7:1: note: expanded from here
7 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2236:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2236:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2236:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2236:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2274:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2274 | RETURN(ret_server_stream);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2274:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2274:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2274:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2274:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2294:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2294 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2294:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2294:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2294:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2294:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2304:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2304 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:187:1: note: expanded from here
187 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2304:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:244:1: note: expanded from here
244 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2304:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2304:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2304:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2322:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2322 | RETURN(server_stream);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2322:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2322:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2322:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2322:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2578:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2578 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2578:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2578:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2578:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2578:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2601:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2601 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2601:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:161:1: note: expanded from here
161 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2601:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2601:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2601:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2624:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2624 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2624:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2624:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2624:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2624:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2634:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2634 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:59:1: note: expanded from here
59 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2634:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2634:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2634:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:189:1: note: expanded from here
189 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2634:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2737:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2737 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:33:1: note: expanded from here
33 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2737:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:90:1: note: expanded from here
90 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2737:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2737:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2737:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2749:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2749 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:3:1: note: expanded from here
3 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2749:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2749:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2749:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2749:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2762:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2762 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2762:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2762:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2762:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2762:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2774:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2774 | RETURN(server_stream);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2774:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2774:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2774:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2774:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2792:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2792 | RETURN(server_stream);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2792:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2792:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:23:1: note: expanded from here
23 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2792:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2792:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:117:1: note: expanded from here
117 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2822:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2822 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2822:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2822:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2822:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:2822:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:3172:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
3172 | TRACE("Function '%s' is compressible: %d", cmd->command_name, compressor_id);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:3172:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:3172:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:3172:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:3172:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:3277:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
3277 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:3277:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:3277:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:3277:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:3277:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:3733:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
3733 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:3733:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:232:1: note: expanded from here
232 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:3733:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:3733:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:65:1: note: expanded from here
65 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster.c:3733:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
257 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-collection.c -o mongoc/mongoc-collection.o
In file included from mongoc/mongoc-collection.c:25:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-collection.c:25:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:257:1: note: expanded from here
257 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-collection.c:25:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-collection.c:25:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-collection.c:25:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:78:1: note: expanded from here
78 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-collection.c:25:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-collection.c:26:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-collection.c:26:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:143:1: note: expanded from here
143 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-collection.c:26:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-collection.c:26:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:60:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
60 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:60:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:60:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:60:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:233:1: note: expanded from here
233 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:60:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:70:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
70 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:71:1: note: expanded from here
71 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:70:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:70:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:164:1: note: expanded from here
164 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:70:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:201:1: note: expanded from here
201 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:70:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:85:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
85 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:85:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:85:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:85:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:171:1: note: expanded from here
171 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:85:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:98:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
98 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:9:1: note: expanded from here
9 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:98:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:66:1: note: expanded from here
66 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:98:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:102:1: note: expanded from here
102 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:98:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:139:1: note: expanded from here
139 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:98:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:110:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
110 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:232:1: note: expanded from here
232 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:110:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:110:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:110:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:110:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:119:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
119 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:119:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:119:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:119:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:119:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:132:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
132 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:132:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:132:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:132:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:132:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:171:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
171 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:171:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:171:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:171:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:171:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:192:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
192 | RETURN(col);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:192:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:192:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:192:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:252:1: note: expanded from here
252 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:192:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:51:1: note: expanded from here
51 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:216:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
216 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:87:1: note: expanded from here
87 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:216:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:144:1: note: expanded from here
144 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:216:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:180:1: note: expanded from here
180 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:216:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:217:1: note: expanded from here
217 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:216:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:219:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
219 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:219:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:219:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:219:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:219:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:244:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
244 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:244:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:244:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:244:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:244:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:268:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
268 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:3:1: note: expanded from here
3 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:268:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:268:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:268:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:268:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:272:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
272 | RETURN(_mongoc_collection_new(collection->client,
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:272:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:272:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:272:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:272:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:485:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
485 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:485:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:22:1: note: expanded from here
22 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:485:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:58:1: note: expanded from here
58 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:485:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:485:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:495:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
495 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:189:1: note: expanded from here
189 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:495:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:495:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:495:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:495:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:504:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
504 | bsonBuildDecl(cmd, kv("count", cstr(coll->collection)));
| ^
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:162:1: note: expanded from here
162 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:504:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:217:1: note: expanded from here
217 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:504:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:253:1: note: expanded from here
253 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:504:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:504:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:504:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:504:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:522:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
522 | bsonParse(*reply_ptr, find(key("n"), do(ret_count = bson_iter_as_int64(&bsonVisitIter))));
| ^
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:3:1: note: expanded from here
3 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:522:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:522:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:522:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:522:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:522:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:522:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:527:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
527 | RETURN(ret_count);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:527:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:67:1: note: expanded from here
67 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:527:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:527:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:140:1: note: expanded from here
140 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:527:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:611:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
611 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:233:1: note: expanded from here
233 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:611:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:611:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:611:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:611:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:619:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
619 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:619:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:21:1: note: expanded from here
21 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:619:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:619:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:619:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:151:1: note: expanded from here
151 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:625:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
625 | bsonBuildAppend(aggregate_opts, insert(*opts, not(key("skip", "limit"))));
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:625:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:625:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:625:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:625:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:625:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:162:1: note: expanded from here
162 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:625:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:217:1: note: expanded from here
217 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:637:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
637 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:637:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:637:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:637:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:637:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:646:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
646 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:646:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:646:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:646:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:646:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:649:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
649 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:649:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:649:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:649:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:649:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:662:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
662 | RETURN(count);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:662:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:662:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:662:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:662:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:820:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
820 | bsonBuildAppend(opts_without_encryptedFields, if (opts, then(insert(*opts, not(key("encryptedFields"))))));
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:820:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:820:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:820:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:820:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:820:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:820:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1047:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1047 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1047:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1047:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1047:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1047:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1188:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1188 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1188:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1188:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:90:1: note: expanded from here
90 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1188:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1188:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1196:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1196 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1196:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:30:1: note: expanded from here
30 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1196:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:66:1: note: expanded from here
66 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1196:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1196:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1208:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1208 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1208:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1208:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1208:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1208:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1240:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1240 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1240:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1240:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1240:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1240:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1284:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1284 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1284:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1284:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1284:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1284:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1313:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1313 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1313:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1313:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1313:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1313:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:44:1: note: expanded from here
44 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1336:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1336 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:80:1: note: expanded from here
80 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1336:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1336:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:173:1: note: expanded from here
173 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1336:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1336:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1355:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1355 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1355:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1355:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1355:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1355:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1410:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1410 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1410:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1410:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1410:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1410:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1433:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1433 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1433:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1433:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1433:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1433:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1493:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1493 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:233:1: note: expanded from here
233 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1493:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1493:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1493:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:111:1: note: expanded from here
111 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1493:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1502:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1502 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1502:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:21:1: note: expanded from here
21 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1502:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1502:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1502:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:151:1: note: expanded from here
151 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1511:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1511 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1511:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1511:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1511:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1511:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1554:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1554 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1554:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1554:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1554:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1554:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1568:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1568 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1568:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1568:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1568:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:258:1: note: expanded from here
258 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1568:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1599:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1599 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1599:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1599:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1599:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1599:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1613:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1613 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1613:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1613:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1613:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1613:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1644:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1644 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1644:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:111:1: note: expanded from here
111 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1644:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1644:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1644:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1658:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1658 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:23:1: note: expanded from here
23 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1658:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:80:1: note: expanded from here
80 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1658:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1658:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1658:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1689:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1689 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1689:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1689:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1689:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1689:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1706:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1706 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1706:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1706:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1706:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1706:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1740:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1740 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:195:1: note: expanded from here
195 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1740:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1740:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1740:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1740:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1759:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1759 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1759:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1759:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:7:1: note: expanded from here
7 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1759:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:44:1: note: expanded from here
44 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1759:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1820:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1820 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1820:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1820:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1820:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1820:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1831:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1831 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1831:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1831:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1831:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1831:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1838:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1838 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1838:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1838:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1838:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1838:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1847:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1847 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1847:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1847:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1847:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1847:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1857:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1857 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1857:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1857:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1857:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1857:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1864:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1864 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1864:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1864:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1864:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1864:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1873:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1873 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1873:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1873:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1873:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:1873:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2259:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2259 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2259:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2259:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2259:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2259:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2278:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2278 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2278:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2278:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2278:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2278:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2288:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2288 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2288:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2288:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:8:1: note: expanded from here
8 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2288:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:45:1: note: expanded from here
45 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2288:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:102:1: note: expanded from here
102 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2343:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2343 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:139:1: note: expanded from here
139 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2343:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2343:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:232:1: note: expanded from here
232 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2343:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2343:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2353:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2353 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2353:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2353:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2353:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2353:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2369:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2369 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2369:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2369:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2369:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2369:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2387:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2387 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2387:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2387:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2387:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2387:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2394:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2394 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:29:1: note: expanded from here
29 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2394:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:86:1: note: expanded from here
86 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2394:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2394:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:159:1: note: expanded from here
159 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2394:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:216:1: note: expanded from here
216 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2399:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2399 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:253:1: note: expanded from here
253 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2399:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2399:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2399:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2399:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2436:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2436 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2436:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2436:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2436:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2436:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2487:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2487 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2487:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2487:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2487:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2487:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2592:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2592 | GOTO(fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2592:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2592:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2592:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-collection.c:2592:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
368 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-counters.c -o mongoc/mongoc-counters.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-cursor-array.c -o mongoc/mongoc-cursor-array.o
In file included from mongoc/mongoc-cursor-array.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-array.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-array.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-array.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-array.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:282:1: note: expanded from here
282 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-array.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-array.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-array.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-array.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-array.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-cursor.c -o mongoc/mongoc-cursor.o
In file included from mongoc/mongoc-cursor.c:22:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor.c:22:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor.c:22:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:195:1: note: expanded from here
195 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor.c:22:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor.c:22:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:293:1: note: expanded from here
293 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor.c:22:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor.c:22:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor.c:22:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor.c:22:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor.c:22:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:233:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
233 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:233:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:44:1: note: expanded from here
44 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:233:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:80:1: note: expanded from here
80 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:233:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:117:1: note: expanded from here
117 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:233:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:174:1: note: expanded from here
174 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:240:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
240 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:240:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:240:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:240:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:240:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:246:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
246 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:246:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:246:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:246:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:246:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:252:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
252 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:252:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:252:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:252:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:252:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
257 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:7:1: note: expanded from here
7 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:275:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
275 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:275:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:275:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:275:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:275:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:295:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
295 | GOTO(finish);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:295:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:295:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:295:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:295:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:305:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
305 | GOTO(finish);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:305:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:305:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:305:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:305:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:310:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
310 | GOTO(finish);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:23:1: note: expanded from here
23 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:310:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:80:1: note: expanded from here
80 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:310:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:310:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:310:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:321:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
321 | GOTO(finish);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:247:1: note: expanded from here
247 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:321:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:321:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:321:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:321:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:329:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
329 | GOTO(finish);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:329:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:329:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:329:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:329:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:337:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
337 | bsonBuildAppend(cursor->opts,
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:337:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:337:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:337:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:90:1: note: expanded from here
90 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:337:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:337:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:337:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:350:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
350 | GOTO(finish);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:350:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:350:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:350:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:43:1: note: expanded from here
43 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:350:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:360:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
360 | GOTO(finish);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:360:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:360:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:360:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:12:1: note: expanded from here
12 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:360:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:382:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
382 | GOTO(finish);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:106:1: note: expanded from here
106 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:382:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:382:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:382:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:236:1: note: expanded from here
236 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:382:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
392 | RETURN(cursor);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:456:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
456 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:456:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:456:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:456:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:456:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:508:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
508 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:508:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:508:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:508:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:508:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:518:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
518 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:256:1: note: expanded from here
256 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:518:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:518:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:518:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:518:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:528:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
528 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:528:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:528:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:70:1: note: expanded from here
70 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:528:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:107:1: note: expanded from here
107 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:528:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:164:1: note: expanded from here
164 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:536:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
536 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:201:1: note: expanded from here
201 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:536:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:536:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:536:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:79:1: note: expanded from here
79 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:536:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:561:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
561 | RETURN(has_filter);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:561:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:561:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:15:1: note: expanded from here
15 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:561:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:561:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:569:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
569 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:569:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:569:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:238:1: note: expanded from here
238 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:569:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:569:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:572:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
572 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:572:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:572:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:572:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:572:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:45:1: note: expanded from here
45 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:619:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
619 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:81:1: note: expanded from here
81 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:619:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:138:1: note: expanded from here
138 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:619:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:174:1: note: expanded from here
174 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:619:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:619:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:629:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
629 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:629:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:629:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:629:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:629:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:676:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
676 | RETURN(server_stream);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:676:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:676:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:676:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:676:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:780:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
780 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:12:1: note: expanded from here
12 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:780:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:780:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:780:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:780:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:795:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
795 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:236:1: note: expanded from here
236 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:795:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:795:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:795:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:795:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:803:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
803 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:803:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:21:1: note: expanded from here
21 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:803:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:803:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:803:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:151:1: note: expanded from here
151 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:807:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
807 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:807:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:807:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:807:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:807:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:837:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
837 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:164:1: note: expanded from here
164 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:837:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:837:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:837:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:837:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:856:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
856 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:856:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:856:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:856:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:856:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:67:1: note: expanded from here
67 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:894:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
894 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:894:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:161:1: note: expanded from here
161 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:894:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:894:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:894:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:988:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
988 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:988:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:988:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:988:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:988:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:22:1: note: expanded from here
22 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:990:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
990 | RETURN(mongoc_cursor_error_document(cursor, error, NULL));
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:58:1: note: expanded from here
58 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:990:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:115:1: note: expanded from here
115 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:990:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:151:1: note: expanded from here
151 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:990:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:990:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:997:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
997 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:997:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:997:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:997:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:997:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1010:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1010 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:253:1: note: expanded from here
253 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1010:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1010:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1010:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1010:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1017:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1017 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:222:1: note: expanded from here
222 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1017:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:33:1: note: expanded from here
33 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1017:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1017:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:106:1: note: expanded from here
106 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1017:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1058:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1058 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1058:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1058:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1058:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:78:1: note: expanded from here
78 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1058:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1063:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1063 | TRACE("cursor_id(%" PRId64 ")", cursor->cursor_id);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1063:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1063:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:17:1: note: expanded from here
17 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1063:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1063:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:111:1: note: expanded from here
111 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1070:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1070 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1070:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1070:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1070:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1070:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1078:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1078 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1078:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1078:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1078:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1078:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1086:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1086 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1086:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1086:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1086:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1086:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1097:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1097 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1097:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1097:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1097:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1097:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1106:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1106 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1106:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1106:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1106:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1106:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1115:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1115 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1115:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1115:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1115:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1115:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1126:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1126 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1126:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1126:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1126:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1126:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1130:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1130 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1130:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1130:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1130:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1130:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1136:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1136 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1136:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1136:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:23:1: note: expanded from here
23 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1136:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1136:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:117:1: note: expanded from here
117 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1143:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1143 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1143:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1143:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1143:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1143:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1148:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1148 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:124:1: note: expanded from here
124 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1148:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:181:1: note: expanded from here
181 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1148:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:217:1: note: expanded from here
217 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1148:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:254:1: note: expanded from here
254 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1148:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1151:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1151 | RETURN(cursor->state != DONE);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1151:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1151:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1151:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:222:1: note: expanded from here
222 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1151:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1178:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1178 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1178:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1178:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1178:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1178:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:12:1: note: expanded from here
12 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1225:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1225 | RETURN(_clone);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:51:1: note: expanded from here
51 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1225:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:108:1: note: expanded from here
108 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1225:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:144:1: note: expanded from here
144 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1225:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:181:1: note: expanded from here
181 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1225:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:238:1: note: expanded from here
238 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1439 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1459:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1459 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1459:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1459:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1459:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1459:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1490:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1490 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1490:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1490:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1490:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cursor.c:1490:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
302 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-database.c -o mongoc/mongoc-database.o
In file included from mongoc/mongoc-database.c:22:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:268:1: note: expanded from here
268 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-database.c:22:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-database.c:22:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-database.c:22:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-database.c:22:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-database.c:22:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:269:1: note: expanded from here
269 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-database.c:23:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-database.c:23:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-database.c:23:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-database.c:23:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:69:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
69 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:292:1: note: expanded from here
292 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:69:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:69:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:69:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:69:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:82:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
82 | RETURN(db);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:216:1: note: expanded from here
216 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:82:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:82:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:82:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:82:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:105:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
105 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:105:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:105:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:105:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:105:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:108:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
108 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:108:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:108:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:108:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:108:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:129:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
129 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:129:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:129:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:129:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:7:1: note: expanded from here
7 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:129:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:171:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
171 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:171:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:171:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:171:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:171:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:175:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
175 | RETURN(_mongoc_database_new(
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:175:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:175:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:175:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:175:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:360:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
360 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:360:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:360:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:360:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:360:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:370:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
370 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:370:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:370:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:370:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:370:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:380:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
380 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:380:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:380:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:380:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:380:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:389:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
389 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:389:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:389:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:389:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:389:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:419:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
419 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:419:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:419:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:419:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:419:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:442:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
442 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:442:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:442:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:442:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:442:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:644:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
644 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:644:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:644:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:644:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:644:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:663:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
663 | GOTO(cleanup);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:663:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:663:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:663:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:663:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:674:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
674 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:674:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:674:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:674:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:674:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:22:1: note: expanded from here
22 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:1136:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1136 | bsonParse(*opts,
| ^
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:1136:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:1136:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:1136:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:1136:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:1136:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:33:1: note: expanded from here
33 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:1136:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:90:1: note: expanded from here
90 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:1196:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1196 | bsonBuildDecl(opts_without_encryptedFields, if (opts, then(insert(*opts, not(key("encryptedFields"))))));
| ^
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:1196:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:189:1: note: expanded from here
189 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:1196:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:1196:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:1196:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:1196:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-database.c:1196:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:171:1: note: expanded from here
171 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
104 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-gridfs-file-list.c -o mongoc/mongoc-gridfs-file-list.o
In file included from mongoc/mongoc-gridfs-file-list.c:21:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file-list.c:21:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file-list.c:21:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file-list.c:21:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file-list.c:21:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:282:1: note: expanded from here
282 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file-list.c:21:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file-list.c:21:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file-list.c:21:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file-list.c:21:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file-list.c:21:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-gridfs-file-page.c -o mongoc/mongoc-gridfs-file-page.o
In file included from mongoc/mongoc-gridfs-file-page.c:26:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:256:1: note: expanded from here
256 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file-page.c:26:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file-page.c:26:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:39:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
39 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:39:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:39:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:39:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:39:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:50:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
50 | RETURN(page);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:50:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:162:1: note: expanded from here
162 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:50:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:50:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:50:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:57:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
57 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:57:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:57:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:57:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:57:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:63:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
63 | RETURN(1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:59:1: note: expanded from here
59 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:63:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:63:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:63:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:189:1: note: expanded from here
189 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:63:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:73:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
73 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:73:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:73:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:73:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:73:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:79:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
79 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:256:1: note: expanded from here
256 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:79:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:79:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:79:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:79:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:187:1: note: expanded from here
187 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:93:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
93 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:7:1: note: expanded from here
7 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:93:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:93:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:93:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:93:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
96 | RETURN((int32_t)bytes_read);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:117:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
117 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:117:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:117:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:117:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:117:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:144:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
144 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:144:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:144:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:144:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:144:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:147:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
147 | RETURN((int32_t)bytes_written);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:147:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:147:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:147:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:147:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:169:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
169 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:169:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:169:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:169:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:169:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:195:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
195 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:189:1: note: expanded from here
189 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:195:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:195:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:17:1: note: expanded from here
17 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:195:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:195:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:111:1: note: expanded from here
111 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:198:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
198 | RETURN((int32_t)bytes_set);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:198:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:198:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:198:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:23:1: note: expanded from here
23 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:198:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:80:1: note: expanded from here
80 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:205:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
205 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:205:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:173:1: note: expanded from here
173 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:205:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:205:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:205:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:209:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
209 | RETURN(page->buf ? page->buf : page->read_buf);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:209:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:209:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:209:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:209:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:216:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
216 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:216:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:216:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:216:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:216:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:220:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
220 | RETURN(page->len);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:220:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:220:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:220:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:220:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:227:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
227 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:227:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:227:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:227:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:227:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:231:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
231 | RETURN(page->offset);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:232:1: note: expanded from here
232 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:231:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:231:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:231:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:231:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:238:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
238 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:238:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:238:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:238:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:238:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:242:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
242 | RETURN(page->buf ? 1 : 0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:242:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:242:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:242:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:242:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:249:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
249 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:249:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:249:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:249:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:249:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
257 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:258:1: note: expanded from here
258 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file-page.c:257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
123 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-gridfs-file.c -o mongoc/mongoc-gridfs-file.o
In file included from mongoc/mongoc-gridfs-file.c:23:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file.c:23:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file.c:23:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file.c:23:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file.c:23:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:282:1: note: expanded from here
282 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file.c:23:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file.c:23:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file.c:23:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file.c:23:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs-file.c:23:
In file included from ./mongoc/mongoc-cursor-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:139:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
139 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:17:1: note: expanded from here
17 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:139:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:139:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:139:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:139:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:147:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
147 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:147:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:147:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:78:1: note: expanded from here
78 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:147:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:115:1: note: expanded from here
115 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:147:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:195:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
195 | RETURN(r);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:208:1: note: expanded from here
208 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:195:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:23:1: note: expanded from here
23 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:195:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:59:1: note: expanded from here
59 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:195:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:195:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:217:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
217 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:189:1: note: expanded from here
189 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:217:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:217:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:217:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:217:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:228:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
228 | GOTO(failure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:228:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:228:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:256:1: note: expanded from here
256 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:228:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:228:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:239:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
239 | GOTO(failure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:239:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:239:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:239:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:239:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:244:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
244 | GOTO(failure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:244:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:244:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:244:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:244:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:248:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
248 | GOTO(failure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:248:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:248:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:248:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:248:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:253:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
253 | GOTO(failure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:253:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:253:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:253:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:253:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:258:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
258 | GOTO(failure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:258:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:258:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:258:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:258:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:263:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
263 | GOTO(failure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:244:1: note: expanded from here
244 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:263:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:263:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:263:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:263:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:268:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
268 | GOTO(failure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:268:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:268:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:268:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:268:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:273:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
273 | GOTO(failure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:273:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:273:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:273:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:273:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:277:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
277 | GOTO(failure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:277:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:277:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:277:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:277:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:281:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
281 | GOTO(failure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:281:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:281:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:281:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:281:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:68:1: note: expanded from here
68 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:285:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
285 | GOTO(failure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:285:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:162:1: note: expanded from here
162 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:285:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:285:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:285:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:293:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
293 | RETURN(file);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:293:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:293:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:293:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:293:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:298:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
298 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:298:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:111:1: note: expanded from here
111 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:298:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:298:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:298:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:313:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
313 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:313:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:313:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:313:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:313:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:366:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
366 | RETURN(file);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:366:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:366:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:366:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:366:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:372:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
372 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:372:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:372:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:372:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:372:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:375:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
375 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:375:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:375:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:375:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:375:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:424:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
424 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:424:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:424:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:424:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:424:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
439 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:68:1: note: expanded from here
68 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:482:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
482 | RETURN(bytes_read);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:291:1: note: expanded from here
291 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:482:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:482:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:482:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:482:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:485:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
485 | RETURN(bytes_read);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:485:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:485:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:485:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:485:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:492:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
492 | RETURN(bytes_read);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:492:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:492:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:492:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:492:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:506:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
506 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:506:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:506:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:506:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:506:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:571:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
571 | RETURN(bytes_written);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:571:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:571:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:571:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:571:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:594:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
594 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:594:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:594:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:594:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:594:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:599:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
599 | RETURN(0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:599:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:599:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:599:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:599:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:608:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
608 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:608:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:608:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:608:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:79:1: note: expanded from here
79 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:608:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:613:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
613 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:613:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:613:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:15:1: note: expanded from here
15 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:613:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:613:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:623:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
623 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:151:1: note: expanded from here
151 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:623:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:208:1: note: expanded from here
208 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:623:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:244:1: note: expanded from here
244 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:623:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:623:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:626:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
626 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:626:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:626:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:261:1: note: expanded from here
261 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:626:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:626:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:635:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
635 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:635:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:635:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:635:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:258:1: note: expanded from here
258 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:635:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:644:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
644 | RETURN((ssize_t)diff);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:644:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:162:1: note: expanded from here
162 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:644:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:644:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:644:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:670:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
670 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:670:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:670:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:670:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:670:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:21:1: note: expanded from here
21 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:699:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
699 | RETURN(r);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:699:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:699:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:699:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:699:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:802:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
802 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:138:1: note: expanded from here
138 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:802:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:195:1: note: expanded from here
195 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:802:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:231:1: note: expanded from here
231 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:802:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:268:1: note: expanded from here
268 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:802:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:808:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
808 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:808:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:808:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:808:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:256:1: note: expanded from here
256 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:808:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:820:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
820 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:820:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:820:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:820:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:820:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:825:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
825 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:825:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:825:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:825:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:825:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:871:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
871 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:871:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:871:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:263:1: note: expanded from here
263 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:871:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:871:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:888:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
888 | RETURN(0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:888:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:888:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:888:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:888:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:892:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
892 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:892:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:892:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:892:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:892:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:906:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
906 | RETURN(0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:114:1: note: expanded from here
114 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:906:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:171:1: note: expanded from here
171 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:906:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:906:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:244:1: note: expanded from here
244 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:906:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:920:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
920 | RETURN(0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:920:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:920:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:920:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:920:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:924:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
924 | RETURN(0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:924:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:924:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:924:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:924:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:939:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
939 | RETURN(0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:66:1: note: expanded from here
66 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:939:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:123:1: note: expanded from here
123 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:939:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:159:1: note: expanded from here
159 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:939:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:939:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:253:1: note: expanded from here
253 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:949:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
949 | RETURN(0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:949:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:949:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:140:1: note: expanded from here
140 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:949:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:949:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:955:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
955 | RETURN(_mongoc_gridfs_file_page_seek(file->page, file->pos % file->chunk_size));
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:955:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:67:1: note: expanded from here
67 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:955:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:955:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:140:1: note: expanded from here
140 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:955:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:1081:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1081 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:1081:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:1081:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:1081:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:1081:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:1084:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1084 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:1084:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:1084:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:1084:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs-file.c:1084:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
280 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-gridfs.c -o mongoc/mongoc-gridfs.o
In file included from mongoc/mongoc-gridfs.c:23:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs.c:23:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs.c:23:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs.c:23:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs.c:23:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:282:1: note: expanded from here
282 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs.c:23:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs.c:23:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs.c:23:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs.c:23:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-gridfs.c:23:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:57:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
57 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:292:1: note: expanded from here
292 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:57:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:57:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:57:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:57:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:73:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
73 | RETURN(r);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:73:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:73:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:73:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:73:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:86:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
86 | RETURN(r);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:86:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:86:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:86:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:86:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:89:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
89 | RETURN(1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:89:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:89:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:89:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:89:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:101:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
101 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:101:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:101:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:101:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:101:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:133:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
133 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:133:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:133:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:133:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:133:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:136:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
136 | RETURN(gridfs);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:136:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:136:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:136:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:136:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
145 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:149:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
149 | RETURN(0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:149:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:149:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:149:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:149:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:154:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
154 | RETURN(0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:3:1: note: expanded from here
3 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:154:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:154:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:154:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:154:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:157:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
157 | RETURN(1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:157:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:157:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:157:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:157:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:164:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
164 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:164:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:164:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:164:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:164:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:167:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:167:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:167:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:167:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:167:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:175:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
175 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:175:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:175:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:175:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:175:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:195:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
195 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:195:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:195:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:195:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:195:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:216:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
216 | RETURN(file);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:216:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:216:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:216:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:216:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:253:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
253 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:253:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:253:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:253:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:253:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:272:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
272 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:272:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:272:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:272:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:272:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:279:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
279 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:279:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:67:1: note: expanded from here
67 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:279:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:279:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:140:1: note: expanded from here
140 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:279:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:288:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
288 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:233:1: note: expanded from here
233 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:288:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:288:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:288:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:288:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:291:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
291 | RETURN(file);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:291:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:291:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:291:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:291:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:301:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
301 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:301:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:301:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:301:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:301:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:307:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
307 | RETURN(file);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:158:1: note: expanded from here
158 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:307:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:307:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:307:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-gridfs.c:307:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
125 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-stream-gridfs.c -o mongoc/mongoc-stream-gridfs.o
In file included from mongoc/mongoc-stream-gridfs.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-gridfs.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-gridfs.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-gridfs.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-gridfs.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-gridfs.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:269:1: note: expanded from here
269 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-gridfs.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:304:1: note: expanded from here
304 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-gridfs.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:280:1: note: expanded from here
280 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-gridfs.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:315:1: note: expanded from here
315 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-gridfs.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:44:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
44 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:44:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:44:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:277:1: note: expanded from here
277 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:44:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:44:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:55:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
55 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:55:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:55:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:55:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:252:1: note: expanded from here
252 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:55:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:62:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:62:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:62:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:62:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:62:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:66:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
66 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:66:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:66:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:66:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:66:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:76:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
76 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:76:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:76:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:76:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:76:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:82:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
82 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:82:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:82:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:82:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:82:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:91:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
91 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:91:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:91:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:91:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:91:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:97:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
97 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:97:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:97:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:97:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:97:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:108:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
108 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:108:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:108:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:23:1: note: expanded from here
23 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:108:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:108:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:117:1: note: expanded from here
117 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:121:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
121 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:162:1: note: expanded from here
162 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:121:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:121:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:255:1: note: expanded from here
255 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:121:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:121:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:131:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
131 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:131:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:187:1: note: expanded from here
187 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:131:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:131:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:3:1: note: expanded from here
3 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:131:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:143:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
143 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:143:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:162:1: note: expanded from here
162 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:143:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:143:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:143:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:148:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
148 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:148:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:148:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:148:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:148:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
166 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:183:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
183 | RETURN((mongoc_stream_t *)stream);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:183:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:183:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:183:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-gridfs.c:183:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
85 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-init.c -o mongoc/mongoc-init.o
In file included from mongoc/mongoc-init.c:20:
In file included from ./mongoc/mongoc-cluster-aws-private.h:23:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:31:1: note: expanded from here
31 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-init.c:20:
In file included from ./mongoc/mongoc-cluster-aws-private.h:23:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-init.c:20:
In file included from ./mongoc/mongoc-cluster-aws-private.h:23:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:189:1: note: expanded from here
189 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-init.c:20:
In file included from ./mongoc/mongoc-cluster-aws-private.h:23:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-init.c:20:
In file included from ./mongoc/mongoc-cluster-aws-private.h:23:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:281:1: note: expanded from here
281 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-init.c:20:
In file included from ./mongoc/mongoc-cluster-aws-private.h:23:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:320:1: note: expanded from here
320 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-init.c:20:
In file included from ./mongoc/mongoc-cluster-aws-private.h:23:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-init.c:20:
In file included from ./mongoc/mongoc-cluster-aws-private.h:23:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-init.c:20:
In file included from ./mongoc/mongoc-cluster-aws-private.h:23:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-init.c:20:
In file included from ./mongoc/mongoc-cluster-aws-private.h:23:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-list.c -o mongoc/mongoc-list.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-log.c -o mongoc/mongoc-log.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-rand-openssl.c -o mongoc/mongoc-rand-openssl.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-read-prefs.c -o mongoc/mongoc-read-prefs.o
In file included from mongoc/mongoc-read-prefs.c:19:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-read-prefs.c:19:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-read-prefs.c:19:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-read-prefs.c:19:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-read-prefs.c:19:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:286:1: note: expanded from here
286 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-read-prefs.c:19:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-read-prefs.c:19:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-read-prefs.c:19:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-read-prefs.c:19:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-read-prefs.c:19:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:239:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
239 | mlib_diagnostic_push();
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:239:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:240:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
240 | mlib_disable_deprecation_warnings();
| ^
common/mlib/config.h:348:4: note: expanded from macro 'mlib_disable_deprecation_warnings'
348 | mlib_gnu_warning_disable("-Wdeprecated-declarations"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:240:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:348:4: note: expanded from macro 'mlib_disable_deprecation_warnings'
348 | mlib_gnu_warning_disable("-Wdeprecated-declarations"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:240:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:349:4: note: expanded from macro 'mlib_disable_deprecation_warnings'
349 | mlib_msvc_warning(disable : 4996)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:242:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
242 | mlib_diagnostic_pop();
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:242:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:317:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
317 | mlib_diagnostic_push();
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:317:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:318:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
318 | mlib_disable_deprecation_warnings();
| ^
common/mlib/config.h:348:4: note: expanded from macro 'mlib_disable_deprecation_warnings'
348 | mlib_gnu_warning_disable("-Wdeprecated-declarations"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:318:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:348:4: note: expanded from macro 'mlib_disable_deprecation_warnings'
348 | mlib_gnu_warning_disable("-Wdeprecated-declarations"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:318:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:349:4: note: expanded from macro 'mlib_disable_deprecation_warnings'
349 | mlib_msvc_warning(disable : 4996)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:320:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
320 | mlib_diagnostic_pop();
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:320:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:370:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
370 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:370:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:370:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:370:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:370:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:424:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
424 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:180:1: note: expanded from here
180 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:424:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:237:1: note: expanded from here
237 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:424:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:424:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:424:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:431:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
431 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:431:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:431:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:431:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:431:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
439 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:252:1: note: expanded from here
252 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-read-prefs.c:439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
44 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-rpc.c -o mongoc/mongoc-rpc.o
mongoc/mongoc-rpc.c:79:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
79 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:139:1: note: expanded from here
139 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:79:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:79:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:24:1: note: expanded from here
24 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:79:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:79:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:104:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
104 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:104:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:104:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:256:1: note: expanded from here
256 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:104:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:104:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:125:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
125 | RETURN(found_error);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:125:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:125:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:125:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:125:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:68:1: note: expanded from here
68 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:174:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
174 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:174:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:162:1: note: expanded from here
162 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:174:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:174:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:174:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:183:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
183 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:183:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:183:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:183:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:183:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:191:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
191 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:191:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:191:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:191:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:191:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:197:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
197 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:197:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:197:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:197:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:197:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:222:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
222 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:222:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:222:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:222:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:222:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:230:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
230 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:217:1: note: expanded from here
217 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:230:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:230:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:230:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:230:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:236:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
236 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:236:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:236:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:236:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:236:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:244:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
244 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:244:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:244:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:244:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:244:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:272:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
272 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:140:1: note: expanded from here
140 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:272:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:272:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:233:1: note: expanded from here
233 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:272:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:15:1: note: expanded from here
15 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:272:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:283:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
283 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:111:1: note: expanded from here
111 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:283:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:283:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:283:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:283:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:288:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
288 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:288:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:288:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:288:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:288:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:21:1: note: expanded from here
21 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:309:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
309 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:309:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:114:1: note: expanded from here
114 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:309:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:309:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:187:1: note: expanded from here
187 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:309:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:244:1: note: expanded from here
244 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:316:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
316 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:316:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:316:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:316:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:316:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:320:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
320 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:320:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:320:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:320:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-rpc.c:320:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
85 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-sasl.c -o mongoc/mongoc-sasl.o
In file included from mongoc/mongoc-sasl.c:20:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:262:1: note: expanded from here
262 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-sasl.c:20:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-sasl.c:20:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-sasl.c:20:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-sasl.c:20:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-sasl.c:20:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:258:1: note: expanded from here
258 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-sasl.c:21:
In file included from ./mongoc/mongoc-sasl-private.h:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-sasl.c:21:
In file included from ./mongoc/mongoc-sasl-private.h:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:316:1: note: expanded from here
316 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-sasl.c:21:
In file included from ./mongoc/mongoc-sasl-private.h:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-sasl.c:21:
In file included from ./mongoc/mongoc-sasl-private.h:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-sasl.c:163:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
163 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:88:1: note: expanded from here
88 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-sasl.c:163:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-sasl.c:163:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:181:1: note: expanded from here
181 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-sasl.c:163:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:218:1: note: expanded from here
218 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-sasl.c:163:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-sasl.c:180:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
180 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:67:1: note: expanded from here
67 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-sasl.c:180:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:124:1: note: expanded from here
124 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-sasl.c:180:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-sasl.c:180:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-sasl.c:180:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:254:1: note: expanded from here
254 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-sasl.c:185:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
185 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-sasl.c:185:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-sasl.c:185:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-sasl.c:185:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:164:1: note: expanded from here
164 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-sasl.c:185:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
25 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-scram.c -o mongoc/mongoc-scram.o
In file included from mongoc/mongoc-scram.c:28:
In file included from ./mongoc/mongoc-util-private.h:30:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-scram.c:28:
In file included from ./mongoc/mongoc-util-private.h:30:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-scram.c:28:
In file included from ./mongoc/mongoc-util-private.h:30:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
3 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-socket.c -o mongoc/mongoc-socket.o
mongoc/mongoc-socket.c:70:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
70 | TRACE("setting errno: %d %s", sock->errno_, strerror(sock->errno_));
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:70:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:70:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:70:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:70:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:163:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
163 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:163:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:15:1: note: expanded from here
15 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:163:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:51:1: note: expanded from here
51 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:163:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:88:1: note: expanded from here
88 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:163:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:228:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
228 | RETURN(0 != (pfd.revents & events));
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:187:1: note: expanded from here
187 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:228:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:244:1: note: expanded from here
244 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:228:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:23:1: note: expanded from here
23 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:228:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:228:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:117:1: note: expanded from here
117 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:233:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
233 | TRACE("errno is: %d", errno);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:233:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:233:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:233:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:233:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:237:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
237 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:237:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:237:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:237:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:237:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:50:1: note: expanded from here
50 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:244:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
244 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:86:1: note: expanded from here
86 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:244:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:143:1: note: expanded from here
143 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:244:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:244:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:216:1: note: expanded from here
216 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:244:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:257:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
257 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:257:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:257:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:257:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:257:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:299:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
299 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:299:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:299:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:299:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:299:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:461:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
461 | TRACE("Getting '%s' failed, errno: %d", _mongoc_socket_sockopt_value_to_name(name), errno);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:461:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:461:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:461:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:461:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:463:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
463 | TRACE("'%s' is %d, target value is %d", _mongoc_socket_sockopt_value_to_name(name), optval, value);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:463:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:463:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:463:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:463:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:467:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
467 | TRACE("Setting '%s' failed, errno: %d", _mongoc_socket_sockopt_value_to_name(name), errno);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:467:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:467:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:467:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:467:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:469:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
469 | TRACE("'%s' value changed to %d", _mongoc_socket_sockopt_value_to_name(name), optval);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:469:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:469:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:469:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:469:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:510:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
510 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:510:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:510:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:510:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:510:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:513:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
513 | TRACE("%s", "Setting SO_KEEPALIVE");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:513:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:513:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:513:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:513:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:520:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
520 | TRACE("%s", "Failed setting SO_KEEPALIVE");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:520:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:520:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:520:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:520:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:525:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
525 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:525:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:525:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:525:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:525:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:544:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
544 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:544:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:544:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:544:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:544:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:555:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
555 | RETURN(ret == 0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:3:1: note: expanded from here
3 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:555:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:555:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:555:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:555:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:579:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
579 | TRACE("Current errno: %d", sock->errno_);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:579:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:579:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:579:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:579:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:604:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
604 | TRACE("errno is: %d", sock->errno_);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:604:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:604:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:604:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:604:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:668:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
668 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:668:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:668:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:668:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:668:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:686:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
686 | GOTO(again);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:686:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:686:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:686:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:29:1: note: expanded from here
29 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:686:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:86:1: note: expanded from here
86 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:688:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
688 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:688:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:688:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:688:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:252:1: note: expanded from here
252 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:688:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:690:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
690 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:690:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:690:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:690:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:690:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:30:1: note: expanded from here
30 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:697:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
697 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:66:1: note: expanded from here
66 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:697:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:123:1: note: expanded from here
123 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:697:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:159:1: note: expanded from here
159 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:697:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:697:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:717:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
717 | RETURN(client);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:717:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:717:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:717:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:717:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:744:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
744 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:9:1: note: expanded from here
9 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:744:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:66:1: note: expanded from here
66 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:744:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:102:1: note: expanded from here
102 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:744:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:139:1: note: expanded from here
139 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:744:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:754:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
754 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:754:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:45:1: note: expanded from here
45 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:754:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:81:1: note: expanded from here
81 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:754:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:754:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:763:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
763 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:763:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:763:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:763:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:763:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:795:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
795 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:795:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:795:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:795:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:795:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:798:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
798 | RETURN(0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:798:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:798:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:7:1: note: expanded from here
7 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:798:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:44:1: note: expanded from here
44 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:798:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:833:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
833 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:833:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:833:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:833:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:13:1: note: expanded from here
13 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:833:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:70:1: note: expanded from here
70 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:857:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
857 | RETURN(0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:115:1: note: expanded from here
115 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:857:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:857:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:208:1: note: expanded from here
208 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:857:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:857:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:862:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
862 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:862:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:140:1: note: expanded from here
140 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:862:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:862:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:862:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:864:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
864 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:864:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:864:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:864:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:864:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:866:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
866 | RETURN(0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:866:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:866:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:866:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:866:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:922:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
922 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:922:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:922:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:922:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:922:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:934:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
934 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:934:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:934:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:934:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:934:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:972:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
972 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:972:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:972:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:972:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:972:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:981:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
981 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:981:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:981:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:981:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:981:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:985:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
985 | GOTO(fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:985:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:985:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:985:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:985:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1010:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1010 | RETURN(sock);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1010:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1010:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1010:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1010:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1019:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1019 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1019:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1019:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1019:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1019:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1056:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1056 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1056:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1056:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1056:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1056:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1074:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1074 | GOTO(again);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1074:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1074:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1074:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1074:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1079:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1079 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:17:1: note: expanded from here
17 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1079:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1079:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1079:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1079:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1084:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1084 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1084:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:43:1: note: expanded from here
43 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1084:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:79:1: note: expanded from here
79 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1084:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1084:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:173:1: note: expanded from here
173 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1113:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1113 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1113:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1113:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1113:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1113:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1121:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1121 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:195:1: note: expanded from here
195 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1121:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:252:1: note: expanded from here
252 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1121:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:33:1: note: expanded from here
33 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1121:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:70:1: note: expanded from here
70 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1121:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1190:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1190 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1190:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1190:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1190:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:43:1: note: expanded from here
43 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1190:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1208:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1208 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1208:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1208:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:238:1: note: expanded from here
238 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1208:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:24:1: note: expanded from here
24 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1208:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:81:1: note: expanded from here
81 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1210:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1210 | RETURN(ret ? ret : -1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:117:1: note: expanded from here
117 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1210:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:174:1: note: expanded from here
174 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1210:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1210:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:247:1: note: expanded from here
247 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1210:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1217:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1217 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:115:1: note: expanded from here
115 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1217:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1217:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:208:1: note: expanded from here
208 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1217:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1217:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1221:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1221 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1221:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:139:1: note: expanded from here
139 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1221:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1221:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1221:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1257 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1263:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1263 | DUMP_IOVEC(sendbuf, iov, iovcnt);
| ^
./mongoc/mongoc-trace-private.h:129:7: note: expanded from macro 'DUMP_IOVEC'
129 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1263:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:129:7: note: expanded from macro 'DUMP_IOVEC'
129 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1263:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:130:7: note: expanded from macro 'DUMP_IOVEC'
130 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:139:1: note: expanded from here
139 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1263:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:142:7: note: expanded from macro 'DUMP_IOVEC'
142 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1263:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:142:7: note: expanded from macro 'DUMP_IOVEC'
142 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:233:1: note: expanded from here
233 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1280:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1280 | TRACE("Send %zd out of %zu bytes", ret, iov->iov_len);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1280:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1280:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1280:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1280:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1301:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1301 | RETURN(_mongoc_socket_try_sendv_slow(sock, iov, iovcnt));
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1301:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1301:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1301:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1301:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1304:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1304 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1304:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:24:1: note: expanded from here
24 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1304:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1304:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1304:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1310:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1310 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1310:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:247:1: note: expanded from here
247 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1310:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1310:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1310:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1349:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1349 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1349:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1349:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1349:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1349:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1360:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1360 | TRACE("Sent %zd (of %zu) out of iovcnt=%zu", sent, iov[cur].iov_len, iovcnt);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1360:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1360:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1360:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1360:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:67:1: note: expanded from here
67 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1370:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1370 | GOTO(CLEANUP);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1370:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:161:1: note: expanded from here
161 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1370:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1370:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1370:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1385:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1385 | TRACE("still got bytes left: sent -= iov_len: %zd -= %zu", sent, iov[cur].iov_len);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1385:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1385:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1385:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1385:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1394:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1394 | TRACE("%s", "Finished the iovecs");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1394:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1394:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1394:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1394:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1402:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1402 | TRACE("Seeked io_base+%zd", sent);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1402:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1402:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1402:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1402:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1403:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1403 | TRACE("Subtracting iov_len -= sent; %zu -= %zd", iov[cur].iov_len, sent);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1403:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1403:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1403:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1403:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1406:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1406 | TRACE("iov_len remaining %zu", iov[cur].iov_len);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1406:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1406:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1406:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1406:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1414:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1414 | GOTO(CLEANUP);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:200:1: note: expanded from here
200 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1414:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1414:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1414:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:79:1: note: expanded from here
79 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1414:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1421:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1421 | GOTO(CLEANUP);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:173:1: note: expanded from here
173 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1421:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1421:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1421:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1421:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1428:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1428 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1428:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1428:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1428:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:22:1: note: expanded from here
22 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1428:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:79:1: note: expanded from here
79 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1439 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:115:1: note: expanded from here
115 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:208:1: note: expanded from here
208 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1439:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1447:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1447 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:86:1: note: expanded from here
86 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1447:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:143:1: note: expanded from here
143 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1447:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1447:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:216:1: note: expanded from here
216 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1447:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1460:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1460 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1460:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1460:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1460:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1460:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1465:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1465 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1465:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1465:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1465:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1465:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1469:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1469 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1469:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1469:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1469:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1469:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1473:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1473 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1473:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1473:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1473:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-socket.c:1473:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
385 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-ssl.c -o mongoc/mongoc-ssl.o
In file included from mongoc/mongoc-ssl.c:22:
In file included from ./mongoc/mongoc-ssl-private.h:27:
In file included from ./mongoc/mongoc-uri-private.h:29:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-ssl.c:22:
In file included from ./mongoc/mongoc-ssl-private.h:27:
In file included from ./mongoc/mongoc-uri-private.h:29:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-ssl.c:22:
In file included from ./mongoc/mongoc-ssl-private.h:27:
In file included from ./mongoc/mongoc-uri-private.h:29:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
3 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-stream-buffered.c -o mongoc/mongoc-stream-buffered.o
In file included from mongoc/mongoc-stream-buffered.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-buffered.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-buffered.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-buffered.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-buffered.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-buffered.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:269:1: note: expanded from here
269 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-buffered.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:304:1: note: expanded from here
304 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-buffered.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:280:1: note: expanded from here
280 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-buffered.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:315:1: note: expanded from here
315 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-buffered.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:183:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
183 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:183:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:183:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:286:1: note: expanded from here
286 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:183:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:183:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:189:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
189 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:189:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:189:1: note: expanded from here
189 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:189:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:189:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:189:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:233:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
233 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:233:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:233:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:233:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:233:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:245:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
245 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:245:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:245:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:245:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:245:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:258:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
258 | RETURN(total_bytes);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:58:1: note: expanded from here
58 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:258:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:115:1: note: expanded from here
115 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:258:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:151:1: note: expanded from here
151 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:258:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-buffered.c:258:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
35 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-stream-socket.c -o mongoc/mongoc-stream-socket.o
In file included from mongoc/mongoc-stream-socket.c:23:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-socket.c:23:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-socket.c:23:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-socket.c:23:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-socket.c:23:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-socket.c:23:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:269:1: note: expanded from here
269 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-socket.c:23:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:304:1: note: expanded from here
304 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-socket.c:23:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:280:1: note: expanded from here
280 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-socket.c:23:
In file included from ./mongoc/mongoc-stream-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:315:1: note: expanded from here
315 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-socket.c:23:
In file included from ./mongoc/mongoc-stream-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:55:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
55 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:55:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:55:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:277:1: note: expanded from here
277 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:55:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:55:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:61:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
61 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:61:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:61:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:61:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:252:1: note: expanded from here
252 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:61:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:64:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
64 | RETURN(0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:64:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:64:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:64:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:64:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:73:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
73 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:73:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:73:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:73:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:73:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:87:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
87 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:87:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:87:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:87:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:87:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:94:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
94 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:94:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:94:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:94:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:94:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:98:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
98 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:98:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:98:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:98:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:98:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:108:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
108 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:108:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:108:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:108:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:108:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
115 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:122:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
122 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:122:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:122:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:122:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:122:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:124:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
124 | RETURN(0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:125:1: note: expanded from here
125 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:124:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:124:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:218:1: note: expanded from here
218 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:124:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:255:1: note: expanded from here
255 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:124:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:138:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
138 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:138:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:138:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:138:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:138:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:29:1: note: expanded from here
29 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:156:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
156 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:71:1: note: expanded from here
71 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:156:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:156:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:164:1: note: expanded from here
164 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:156:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:201:1: note: expanded from here
201 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:156:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:159:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
159 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:159:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:159:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:159:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:159:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:173:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
173 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:12:1: note: expanded from here
12 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:173:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:173:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:173:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:173:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:183:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
183 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:183:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:183:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:183:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:183:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:194:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
194 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:194:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:194:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:194:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:194:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:200:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
200 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:200:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:200:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:200:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:200:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:203:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
203 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:203:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:203:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:203:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:203:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:215:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
215 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:215:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:215:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:215:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:215:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:67:1: note: expanded from here
67 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:241:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
241 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:241:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:241:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:241:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:233:1: note: expanded from here
233 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:241:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:259:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
259 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:259:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:259:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:259:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:259:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:21:1: note: expanded from here
21 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:264:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
264 | RETURN(mongoc_socket_check_closed(ss->sock));
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:264:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:117:1: note: expanded from here
117 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:264:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:264:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:264:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:247:1: note: expanded from here
247 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
267 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:29:1: note: expanded from here
29 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:86:1: note: expanded from here
86 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:159:1: note: expanded from here
159 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:216:1: note: expanded from here
216 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:276:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
276 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:252:1: note: expanded from here
252 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:276:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:276:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:276:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:276:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:281:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
281 | RETURN(MONGOC_ERRNO_IS_TIMEDOUT(ss->sock->errno_));
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:281:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:281:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:281:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:281:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:290:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
290 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:290:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:290:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:290:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:290:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:295:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
295 | RETURN(MONGOC_ERRNO_IS_AGAIN(ss->sock->errno_));
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:295:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:295:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:295:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-socket.c:295:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
150 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-stream-tls.c -o mongoc/mongoc-stream-tls.o
In file included from mongoc/mongoc-stream-tls.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:261:1: note: expanded from here
261 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:236:1: note: expanded from here
236 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:271:1: note: expanded from here
271 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls.c:22:
In file included from ./mongoc/mongoc-stream-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-stream.c -o mongoc/mongoc-stream.o
In file included from mongoc/mongoc-stream.c:25:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:275:1: note: expanded from here
275 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream.c:25:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream.c:25:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream.c:25:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream.c:25:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream.c:25:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream.c:25:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:264:1: note: expanded from here
264 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream.c:25:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream.c:25:
In file included from ./mongoc/mongoc-stream-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:275:1: note: expanded from here
275 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream.c:25:
In file included from ./mongoc/mongoc-stream-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:106:1: note: expanded from here
106 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:61:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
61 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:61:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:61:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:61:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:61:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:222:1: note: expanded from here
222 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:69:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
69 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:69:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:59:1: note: expanded from here
59 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:69:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:69:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:69:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:189:1: note: expanded from here
189 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:86:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
86 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:86:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:86:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:86:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:86:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
96 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:110:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
110 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:110:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:110:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:110:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:110:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:113:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
113 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:113:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:113:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:113:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:113:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:120:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
120 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:120:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:120:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:120:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:252:1: note: expanded from here
252 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:120:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:155:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
155 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:155:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:155:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:155:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:155:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:168:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
168 | DUMP_IOVEC(writev, iov, iovcnt);
| ^
./mongoc/mongoc-trace-private.h:129:7: note: expanded from macro 'DUMP_IOVEC'
129 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:168:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:129:7: note: expanded from macro 'DUMP_IOVEC'
129 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:168:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:130:7: note: expanded from macro 'DUMP_IOVEC'
130 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:168:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:142:7: note: expanded from macro 'DUMP_IOVEC'
142 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:168:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:142:7: note: expanded from macro 'DUMP_IOVEC'
142 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:7:1: note: expanded from here
7 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:171:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
171 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:43:1: note: expanded from here
43 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:171:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:171:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:171:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:173:1: note: expanded from here
173 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:171:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:191:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
191 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:12:1: note: expanded from here
12 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:191:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:191:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:191:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:191:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:203:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
203 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:203:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:203:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:203:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:114:1: note: expanded from here
114 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:203:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:171:1: note: expanded from here
171 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:226:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
226 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:226:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:22:1: note: expanded from here
22 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:226:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:58:1: note: expanded from here
58 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:226:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:226:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:236:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
236 | DUMP_IOVEC(readv, iov, iovcnt);
| ^
./mongoc/mongoc-trace-private.h:129:7: note: expanded from macro 'DUMP_IOVEC'
129 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:236:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:129:7: note: expanded from macro 'DUMP_IOVEC'
129 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:254:1: note: expanded from here
254 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:236:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:130:7: note: expanded from macro 'DUMP_IOVEC'
130 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:236:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:142:7: note: expanded from macro 'DUMP_IOVEC'
142 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:71:1: note: expanded from here
71 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:236:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:142:7: note: expanded from macro 'DUMP_IOVEC'
142 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:239:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
239 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:164:1: note: expanded from here
164 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:239:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:239:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:257:1: note: expanded from here
257 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:239:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:239:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:264:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
264 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:264:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:187:1: note: expanded from here
187 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:264:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:264:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:3:1: note: expanded from here
3 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:264:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:276:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
276 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:276:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:158:1: note: expanded from here
158 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:276:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:276:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:231:1: note: expanded from here
231 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:276:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:387:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
387 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:387:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:387:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:247:1: note: expanded from here
247 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:387:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:12:1: note: expanded from here
12 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:387:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:395:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
395 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:395:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:162:1: note: expanded from here
162 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:395:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:395:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:395:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:401:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
401 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:401:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:401:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:401:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:401:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:406:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
406 | RETURN(stream->timed_out && stream->timed_out(stream));
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:406:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:114:1: note: expanded from here
114 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:406:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:406:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:187:1: note: expanded from here
187 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:406:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:244:1: note: expanded from here
244 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:412:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
412 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:412:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:412:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:412:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:412:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:417:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
417 | RETURN(stream->should_retry && stream->should_retry(stream));
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:417:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:417:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:417:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:417:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:426:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
426 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:426:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:426:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:426:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:426:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:158:1: note: expanded from here
158 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:439:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
439 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:439:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:439:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:439:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:439:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:443:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
443 | TRACE("writev returned: %zd", r);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:443:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:443:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:7:1: note: expanded from here
7 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:443:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:44:1: note: expanded from here
44 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:443:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:460:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
460 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:460:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:460:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:460:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:13:1: note: expanded from here
13 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:460:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:70:1: note: expanded from here
70 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:473:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
473 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:473:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:473:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:473:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:473:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:476:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
476 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:476:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:476:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:476:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream.c:476:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
155 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-uri.c -o mongoc/mongoc-uri.o
In file included from mongoc/mongoc-uri.c:28:
In file included from ./mongoc/mongoc-compression-private.h:25:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-uri.c:28:
In file included from ./mongoc/mongoc-compression-private.h:25:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:189:1: note: expanded from here
189 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-uri.c:28:
In file included from ./mongoc/mongoc-compression-private.h:25:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:232:1: note: expanded from here
232 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-uri.c:34:
In file included from ./mongoc/mongoc-topology-private.h:23:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-uri.c:34:
In file included from ./mongoc/mongoc-topology-private.h:23:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-uri.c:34:
In file included from ./mongoc/mongoc-topology-private.h:23:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:86:1: note: expanded from here
86 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-uri.c:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-uri.c:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:277:1: note: expanded from here
277 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-uri.c:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:312:1: note: expanded from here
312 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-uri.c:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-uri.c:46:
common/mlib/intencode.h:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
166 | mlib_static_assert(sizeof(double) == sizeof(uint64_t));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:859:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
859 | TRACE("Ignoring URI option \"%.*s\" from TXT record \"%.*s\". Option is already present in URI",
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:859:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:859:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:859:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:859:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1084:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1084 | HANDLE_DUPE();
| ^
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1084:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:276:1: note: expanded from here
276 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1084:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:12:1: note: expanded from here
12 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1084:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1084:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:106:1: note: expanded from here
106 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1090:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1090 | HANDLE_DUPE();
| ^
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1090:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1090:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1090:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:17:1: note: expanded from here
17 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1090:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1120:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1120 | HANDLE_DUPE();
| ^
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1120:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1120:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1120:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1120:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1134:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1134 | HANDLE_DUPE();
| ^
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1134:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1134:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1134:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1134:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-uri.c:957:10: note: expanded from macro 'HANDLE_DUPE'
957 | TRACE("Cannot override URI option \"%s\" from TXT record", key); \
| ^
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:21:1: note: expanded from here
21 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1336:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1336 | bsonBuildAppend(uri->credentials, kv(MONGOC_URI_AUTHSOURCE, cstr("$external")));
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:80:1: note: expanded from here
80 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1336:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1336:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:171:1: note: expanded from here
171 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1336:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1336:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1336:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:50:1: note: expanded from here
50 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1336:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1645:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1645 | bsonParse(*mechanism_properties,
| ^
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1645:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1645:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1645:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1645:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1645:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1645:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1664:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1664 | bsonBuildDecl(props,
| ^
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1664:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:144:1: note: expanded from here
144 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1664:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:180:1: note: expanded from here
180 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1664:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1664:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1664:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:78:1: note: expanded from here
78 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:1664:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2133:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2133 | bsonBuildAppend(tmp,
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2133:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2133:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2133:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2133:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:208:1: note: expanded from here
208 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2133:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:252:1: note: expanded from here
252 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2133:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2140:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2140 | bsonBuildAppend(uri->credentials, insert(tmp, always));
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:30:1: note: expanded from here
30 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2140:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2140:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2140:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2140:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:181:1: note: expanded from here
181 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2140:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2140:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2153:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2153 | bsonParse(uri->options,
| ^
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2153:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2153:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:125:1: note: expanded from here
125 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2153:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2153:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2153:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:45:1: note: expanded from here
45 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2153:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:102:1: note: expanded from here
102 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2196:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2196 | bsonParse(
| ^
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2196:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2196:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2196:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2196:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2196:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2196:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2214:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2214 | bsonParse(uri->options,
| ^
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:138:1: note: expanded from here
138 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2214:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2214:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2214:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2214:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2214:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2214:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2224:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2224 | bsonParse(uri->options,
| ^
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2224:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2224:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2224:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:174:1: note: expanded from here
174 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2224:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2224:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-uri.c:2224:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
99 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-util.c -o mongoc/mongoc-util.o
In file included from mongoc/mongoc-util.c:24:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-util.c:24:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-util.c:24:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-util.c:24:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:233:1: note: expanded from here
233 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-util.c:24:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:291:1: note: expanded from here
291 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-util.c:24:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-util.c:24:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-util.c:24:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-util.c:24:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-util.c:24:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-util.c:38:
common/mlib/intencode.h:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
166 | mlib_static_assert(sizeof(double) == sizeof(uint64_t));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
11 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-write-command.c -o mongoc/mongoc-write-command.o
In file included from mongoc/mongoc-write-command.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-write-command.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-write-command.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:289:1: note: expanded from here
289 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-write-command.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:33:1: note: expanded from here
33 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-write-command.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:68:1: note: expanded from here
68 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-write-command.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-write-command.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-write-command.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-write-command.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-write-command.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-write-command.c:31:
common/mlib/intencode.h:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
166 | mlib_static_assert(sizeof(double) == sizeof(uint64_t));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:30:1: note: expanded from here
30 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:48:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
48 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:81:1: note: expanded from here
81 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:48:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:138:1: note: expanded from here
138 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:48:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:174:1: note: expanded from here
174 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:48:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:48:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:268:1: note: expanded from here
268 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:72:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
72 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:72:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:72:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:72:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:72:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:83:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
83 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:23:1: note: expanded from here
23 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:83:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:80:1: note: expanded from here
80 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:83:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:83:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:83:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:105:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
105 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:255:1: note: expanded from here
255 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:105:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:58:1: note: expanded from here
58 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:105:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:105:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:105:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:113:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
113 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:113:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:113:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:71:1: note: expanded from here
71 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:113:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:108:1: note: expanded from here
108 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:113:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:132:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
132 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:132:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:132:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:132:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:132:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:139:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
139 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:139:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:139:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:139:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:139:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:155:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
155 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:155:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:217:1: note: expanded from here
217 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:155:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:253:1: note: expanded from here
253 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:155:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:155:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
166 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:222:1: note: expanded from here
222 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:59:1: note: expanded from here
59 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:174:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
174 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:174:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:174:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:174:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:174:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:189:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
189 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:189:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:189:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:189:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:189:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:225:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
225 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:225:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:225:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:225:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:225:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:237:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
237 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:237:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:237:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:237:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:164:1: note: expanded from here
164 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:237:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:248:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
248 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:248:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:59:1: note: expanded from here
59 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:248:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:248:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:248:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:189:1: note: expanded from here
189 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:260:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
260 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:260:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:260:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:260:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:260:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:268:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
268 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:208:1: note: expanded from here
208 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:268:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:21:1: note: expanded from here
21 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:268:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:268:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:268:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:151:1: note: expanded from here
151 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:281:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
281 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:187:1: note: expanded from here
187 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:281:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:244:1: note: expanded from here
244 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:281:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:281:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:281:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:290:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
290 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:162:1: note: expanded from here
162 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:290:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:290:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:255:1: note: expanded from here
255 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:290:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:290:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:303:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
303 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:303:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:187:1: note: expanded from here
187 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:303:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:303:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:303:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:312:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
312 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:106:1: note: expanded from here
106 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:312:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:312:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:312:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:236:1: note: expanded from here
236 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:312:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:326:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
326 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:326:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:326:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:326:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:326:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:333:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
333 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:333:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:333:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:333:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:333:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:350:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
350 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:350:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:350:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:350:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:350:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:353:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
353 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:7:1: note: expanded from here
7 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:353:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:353:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:353:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:353:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:363:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
363 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:363:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:363:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:363:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:363:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:433:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
433 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:433:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:433:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:433:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:433:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:462:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
462 | RETURN(count);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:462:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:462:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:462:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:462:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:502:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
502 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:171:1: note: expanded from here
171 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:502:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:502:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:502:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:502:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:604:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
604 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:604:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:604:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:604:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:604:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:634:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
634 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:634:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:634:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:634:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:257:1: note: expanded from here
257 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:634:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:657:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
657 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:106:1: note: expanded from here
106 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:657:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:657:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:657:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:236:1: note: expanded from here
236 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:657:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:675:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
675 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:81:1: note: expanded from here
81 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:675:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:138:1: note: expanded from here
138 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:675:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:174:1: note: expanded from here
174 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:675:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:675:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:681:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
681 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:681:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:681:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:681:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:681:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:785:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
785 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:785:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:785:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:785:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:785:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:802:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
802 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:802:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:802:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:802:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:802:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:819:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
819 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:819:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:819:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:819:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:819:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:826:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
826 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:826:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:826:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:826:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:826:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:839:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
839 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:839:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:839:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:839:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:839:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:855:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
855 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:855:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:855:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:855:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:855:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:866:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
866 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:866:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:866:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:7:1: note: expanded from here
7 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:866:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:44:1: note: expanded from here
44 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:866:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:878:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
878 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:878:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:878:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:878:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:13:1: note: expanded from here
13 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:878:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:70:1: note: expanded from here
70 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:890:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
890 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:106:1: note: expanded from here
106 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:890:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:890:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:890:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:236:1: note: expanded from here
236 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:890:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:901:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
901 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:901:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:901:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:901:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:901:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:911:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
911 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:911:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:911:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:911:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:911:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:916:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
916 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:916:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:916:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:916:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:916:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:930:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
930 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:930:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:930:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:930:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:930:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:937:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
937 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:937:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:937:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:937:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:937:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:944:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
944 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:944:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:944:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:944:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:944:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:951:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
951 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:951:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:951:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:951:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:951:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:963:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
963 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:138:1: note: expanded from here
138 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:963:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:195:1: note: expanded from here
195 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:963:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:231:1: note: expanded from here
231 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:963:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:963:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:970:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
970 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:970:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:970:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:970:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:970:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:980:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
980 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:79:1: note: expanded from here
79 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:980:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:980:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:980:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:980:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:1067:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1067 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:67:1: note: expanded from here
67 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:1067:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:124:1: note: expanded from here
124 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:1067:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:1067:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:1067:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:1167:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1167 | RETURN(!result->failed && result->error.code == 0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:44:1: note: expanded from here
44 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:1167:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:1167:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:1167:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:174:1: note: expanded from here
174 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-write-command.c:1167:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:231:1: note: expanded from here
231 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
281 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-write-concern.c -o mongoc/mongoc-write-concern.o
In file included from mongoc/mongoc-write-concern.c:21:
In file included from ./mongoc/mongoc-util-private.h:30:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:264:1: note: expanded from here
264 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-write-concern.c:21:
In file included from ./mongoc/mongoc-util-private.h:30:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:88:1: note: expanded from here
88 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-write-concern.c:21:
In file included from ./mongoc/mongoc-util-private.h:30:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
3 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-topology-description-apm.c -o mongoc/mongoc-topology-description-apm.o
In file included from mongoc/mongoc-topology-description-apm.c:18:
In file included from ./mongoc/mongoc-structured-log-private.h:27:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:33:1: note: expanded from here
33 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-description-apm.c:18:
In file included from ./mongoc/mongoc-structured-log-private.h:27:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-description-apm.c:18:
In file included from ./mongoc/mongoc-structured-log-private.h:27:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-description-apm.c:18:
In file included from ./mongoc/mongoc-structured-log-private.h:27:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-description-apm.c:18:
In file included from ./mongoc/mongoc-structured-log-private.h:27:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:291:1: note: expanded from here
291 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-description-apm.c:18:
In file included from ./mongoc/mongoc-structured-log-private.h:27:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-description-apm.c:18:
In file included from ./mongoc/mongoc-structured-log-private.h:29:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-description-apm.c:18:
In file included from ./mongoc/mongoc-structured-log-private.h:29:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-description-apm.c:18:
In file included from ./mongoc/mongoc-structured-log-private.h:29:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-description-apm.c:18:
In file included from ./mongoc/mongoc-structured-log-private.h:29:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-async.c -o mongoc/mongoc-async.o
In file included from mongoc/mongoc-async.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:27:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:27:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:27:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:258:1: note: expanded from here
258 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:269:1: note: expanded from here
269 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-async-cmd.c -o mongoc/mongoc-async-cmd.o
In file included from mongoc/mongoc-async-cmd.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async-cmd.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async-cmd.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async-cmd.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:27:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async-cmd.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:27:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async-cmd.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:27:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async-cmd.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:258:1: note: expanded from here
258 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async-cmd.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async-cmd.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:269:1: note: expanded from here
269 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async-cmd.c:18:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-async-cmd.c:34:
common/mlib/intencode.h:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
166 | mlib_static_assert(sizeof(double) == sizeof(uint64_t));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
11 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-host-list.c -o mongoc/mongoc-host-list.o
In file included from mongoc/mongoc-host-list.c:18:
In file included from ./mongoc/mongoc-host-list-private.h:26:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-host-list.c:18:
In file included from ./mongoc/mongoc-host-list-private.h:26:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-host-list.c:18:
In file included from ./mongoc/mongoc-host-list-private.h:26:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:288:1: note: expanded from here
288 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
3 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-set.c -o mongoc/mongoc-set.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-server-description.c -o mongoc/mongoc-server-description.o
In file included from mongoc/mongoc-server-description.c:20:
In file included from ./mongoc/mongoc-compression-private.h:25:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-description.c:20:
In file included from ./mongoc/mongoc-compression-private.h:25:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:268:1: note: expanded from here
268 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-description.c:20:
In file included from ./mongoc/mongoc-compression-private.h:25:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-description.c:23:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-description.c:23:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-description.c:23:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-description.c:23:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-description.c:23:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-description.c:23:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-description.c:23:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:122:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
122 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:295:1: note: expanded from here
295 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:122:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:51:1: note: expanded from here
51 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:122:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:87:1: note: expanded from here
87 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:122:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:124:1: note: expanded from here
124 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:122:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:181:1: note: expanded from here
181 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:150:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
150 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:150:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:150:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:70:1: note: expanded from here
70 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:150:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:107:1: note: expanded from here
107 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:150:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:164:1: note: expanded from here
164 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:172:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
172 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:200:1: note: expanded from here
200 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:172:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:172:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:172:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:172:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:175:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
175 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:175:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:175:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:9:1: note: expanded from here
9 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:175:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:175:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:182:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
182 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:139:1: note: expanded from here
139 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:182:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:182:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:232:1: note: expanded from here
232 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:182:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:12:1: note: expanded from here
12 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:182:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:521:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
521 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:108:1: note: expanded from here
108 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:521:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:521:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:201:1: note: expanded from here
201 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:521:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:238:1: note: expanded from here
238 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:521:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:44:1: note: expanded from here
44 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:528:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
528 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:528:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:140:1: note: expanded from here
140 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:528:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:528:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:528:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:532:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
532 | bsonBuild(sd->last_hello_response, insert(*hello_response, not(key("speculativeAuthenticate"))));
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:532:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:124:1: note: expanded from here
124 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:532:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:532:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:532:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:532:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:50:1: note: expanded from here
50 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:532:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:557:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
557 | GOTO(authfailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:557:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:557:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:557:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:557:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:562:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
562 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:562:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:562:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:562:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:562:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:567:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
567 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:567:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:567:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:567:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:567:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:572:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
572 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:572:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:572:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:572:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:572:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:577:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
577 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:577:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:577:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:577:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:577:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:582:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
582 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:582:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:582:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:582:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:582:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:587:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
587 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:90:1: note: expanded from here
90 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:587:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:587:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:587:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:587:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:597:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
597 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:65:1: note: expanded from here
65 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:597:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:597:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:158:1: note: expanded from here
158 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:597:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:195:1: note: expanded from here
195 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:597:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:601:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
601 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:601:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:601:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:601:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:601:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:606:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
606 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:606:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:606:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:606:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:606:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:612:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
612 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:612:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:612:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:612:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:612:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:620:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
620 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:620:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:620:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:620:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:620:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:627:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
627 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:627:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:627:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:627:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:627:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:632:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
632 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:632:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:632:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:632:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:33:1: note: expanded from here
33 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:632:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:90:1: note: expanded from here
90 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:637:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
637 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:637:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:637:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:637:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:257:1: note: expanded from here
257 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:637:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:644:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
644 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:644:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:644:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:644:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:644:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:651:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
651 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:651:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:651:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:651:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:651:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:658:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
658 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:65:1: note: expanded from here
65 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:658:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:658:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:158:1: note: expanded from here
158 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:658:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:195:1: note: expanded from here
195 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:658:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:252:1: note: expanded from here
252 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:663:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
663 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:663:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:663:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:663:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:663:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:668:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
668 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:668:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:668:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:668:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:668:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:673:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
673 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:673:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:673:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:673:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:673:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:683:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
683 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:683:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:683:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:683:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:683:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:689:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
689 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:689:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:689:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:29:1: note: expanded from here
29 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:689:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:66:1: note: expanded from here
66 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:689:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:123:1: note: expanded from here
123 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:698:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
698 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:698:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:698:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:698:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:698:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:707:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
707 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:138:1: note: expanded from here
138 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:707:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:195:1: note: expanded from here
195 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:707:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:231:1: note: expanded from here
231 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:707:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:707:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:712:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
712 | GOTO(typefailure);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:712:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:712:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:712:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:712:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:747:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
747 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:747:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:139:1: note: expanded from here
139 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:747:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:747:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:747:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:760:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
760 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:760:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:760:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:760:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:760:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:923:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
923 | TRACE("Rejected stale RSSecondary [%s]", sds[i]->host.host_and_port);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:923:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:111:1: note: expanded from here
111 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:923:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:923:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:923:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:945:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
945 | TRACE("Rejected stale RSSecondary [%s]", sds[i]->host.host_and_port);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:945:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:945:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:945:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:945:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:1014:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1014 | TRACE("Rejected [%s] [%s], doesn't match tags",
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:1014:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:1014:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:111:1: note: expanded from here
111 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:1014:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:1014:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:1028:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1028 | TRACE("Rejected [%s] [%s], reached end of tags array without match",
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:1028:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:1028:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:1028:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-description.c:1028:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
212 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-topology-description.c -o mongoc/mongoc-topology-description.o
In file included from mongoc/mongoc-topology-description.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-description.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-description.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-description.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-description.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:282:1: note: expanded from here
282 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-description.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-description.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-description.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-description.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-description.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:93:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
93 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:306:1: note: expanded from here
306 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:93:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:93:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:93:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:93:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:110:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
110 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:222:1: note: expanded from here
222 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:110:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:30:1: note: expanded from here
30 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:110:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:66:1: note: expanded from here
66 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:110:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:110:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:137:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
137 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:137:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:3:1: note: expanded from here
3 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:137:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:137:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:137:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:167:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:167:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:232:1: note: expanded from here
232 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:167:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:167:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:167:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:221:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
221 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:221:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:221:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:221:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:221:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:235:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
235 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:235:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:173:1: note: expanded from here
173 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:235:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:235:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:235:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
257 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:257:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:260:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
260 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:260:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:260:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:260:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:260:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:266:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
266 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:266:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:266:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:266:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:266:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:491:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
491 | TRACE("Rejected [%s] [%s] for mode [%s]",
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:491:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:491:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:491:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:491:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:524:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
524 | TRACE("%s", "deprioritization: filtering list of candidates");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:232:1: note: expanded from here
232 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:524:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:524:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:524:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:524:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:533:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
533 | TRACE("deprioritization: - kept: %s (id: %" PRIu32 ")", sd->host.host_and_port, sd->id);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:533:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:533:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:533:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:533:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:536:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
536 | TRACE("deprioritization: - removed: %s (id: %" PRIu32 ")", sd->host.host_and_port, sd->id);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:536:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:536:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:536:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:536:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:541:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
541 | TRACE("%s", "deprioritization: no suitable servers remaining");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:541:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:541:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:541:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:541:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:543:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
543 | TRACE("%s", "deprioritization: none found in list of candidates");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:543:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:543:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:543:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:543:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:545:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
545 | TRACE("%s", "deprioritization: using filtered list of candidates");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:545:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:545:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:545:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:545:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:849:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
849 | TRACE("Rejected [%s] [%s] for read mode [%s] with topology type Single",
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:79:1: note: expanded from here
79 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:849:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:849:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:849:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:849:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:880:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
880 | TRACE("Rejected [%s] [%s] for mode [%s] with RS topology",
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:58:1: note: expanded from here
58 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:880:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:115:1: note: expanded from here
115 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:880:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:151:1: note: expanded from here
151 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:880:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:880:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1227:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1227 | TRACE("%s", "deprioritization: retrying suitable servers filter without deprioritization");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:78:1: note: expanded from here
78 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1227:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1227:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:171:1: note: expanded from here
171 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1227:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:208:1: note: expanded from here
208 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1227:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1295:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1295 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:67:1: note: expanded from here
67 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1295:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:124:1: note: expanded from here
124 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1295:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1295:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1295:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1311:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1311 | RETURN(sd);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1311:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1311:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1311:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:171:1: note: expanded from here
171 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1311:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1313:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1313 | TRACE("Topology type single, [%s] is down", sd->host.host_and_port);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1313:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:68:1: note: expanded from here
68 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1313:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1313:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1313:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1314:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1314 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1314:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1314:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1314:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1314:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1333:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1333 | TRACE("Topology type [%s], selected [%s] [%s]",
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1333:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1333:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1333:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1333:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1339:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1339 | RETURN(sd);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1339:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1339:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1339:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:1339:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2458:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2458 | TRACE("%s", "topology version is strictly less. Skipping.");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2458:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2458:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2458:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2458:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2473:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2473 | DUMP_BSON(hello_response);
| ^
./mongoc/mongoc-trace-private.h:105:7: note: expanded from macro 'DUMP_BSON'
105 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2473:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:105:7: note: expanded from macro 'DUMP_BSON'
105 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2473:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:106:7: note: expanded from macro 'DUMP_BSON'
106 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2473:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:123:7: note: expanded from macro 'DUMP_BSON'
123 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2473:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:123:7: note: expanded from macro 'DUMP_BSON'
123 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2504:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2504 | TRACE("%s", "wrong set name");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2504:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2504:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2504:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2504:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2521:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2521 | TRACE("Topology description %s handling server description %s",
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2521:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2521:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2521:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2521:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2526:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2526 | TRACE("Topology description %s ignoring server description %s",
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2526:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2526:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2526:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2526:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:68:1: note: expanded from here
68 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2839:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
2839 | TRACE("clearing pool for server: %s", sd->host.host_and_port);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2839:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2839:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2839:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-description.c:2839:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
165 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-topology.c -o mongoc/mongoc-topology.o
In file included from mongoc/mongoc-topology.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:289:1: note: expanded from here
289 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:33:1: note: expanded from here
33 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:68:1: note: expanded from here
68 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:527:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
527 | GOTO(srv_fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:527:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:527:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:527:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:256:1: note: expanded from here
256 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:527:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:539:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
539 | GOTO(srv_fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:539:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:151:1: note: expanded from here
151 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:539:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:187:1: note: expanded from here
187 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:539:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:539:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:546:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
546 | GOTO(srv_fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:546:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:546:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:546:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:546:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:550:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
550 | GOTO(srv_fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:550:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:550:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:550:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:550:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:640:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
640 | TRACE("%s", "topology invalid");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:22:1: note: expanded from here
22 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:640:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:79:1: note: expanded from here
79 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:640:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:115:1: note: expanded from here
115 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:640:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:640:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:855:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
855 | TRACE("%s", "Polling for SRV records");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:22:1: note: expanded from here
22 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:855:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:79:1: note: expanded from here
79 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:855:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:115:1: note: expanded from here
115 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:855:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:855:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:873:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
873 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:873:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:873:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:873:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:873:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1098:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1098 | TRACE("%s",
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1098:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1098:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1098:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1098:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1343:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1343 | TRACE("server selection requesting an immediate scan, want %s",
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1343:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:111:1: note: expanded from here
111 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1343:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1343:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1343:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:23:1: note: expanded from here
23 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1359:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1359 | TRACE("server selection about to wait for %" PRId64 "ms", (expire_at - loop_start) / 1000);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1359:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1359:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1359:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1359:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1362:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1362 | TRACE("%s", "server selection awake");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1362:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:139:1: note: expanded from here
139 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1362:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1362:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1362:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1625:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1625 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:174:1: note: expanded from here
174 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1625:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1625:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1625:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1625:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1663:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1663 | RETURN(ss);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1663:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1663:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1663:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1663:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1679:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1679 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1679:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1679:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1679:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1679:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1696:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1696 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1696:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1696:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1696:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:29:1: note: expanded from here
29 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology.c:1696:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:86:1: note: expanded from here
86 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
85 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-topology-scanner.c -o mongoc/mongoc-topology-scanner.o
In file included from mongoc/mongoc-topology-scanner.c:19:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-scanner.c:19:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-scanner.c:19:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:257:1: note: expanded from here
257 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-scanner.c:19:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:27:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:292:1: note: expanded from here
292 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-scanner.c:19:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:27:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:336:1: note: expanded from here
336 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-scanner.c:19:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:27:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:50:1: note: expanded from here
50 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-scanner.c:19:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-scanner.c:19:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-scanner.c:19:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:88:1: note: expanded from here
88 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-scanner.c:19:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1304:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1304 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1304:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1304:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1304:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1304:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1332:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1332 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1332:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1332:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:111:1: note: expanded from here
111 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1332:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1332:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1355:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1355 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1355:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1355:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1355:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1355:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1373:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1373 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:12:1: note: expanded from here
12 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1373:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1373:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1373:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1373:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1385:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1385 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1385:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1385:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1385:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1385:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1392:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1392 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1392:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1392:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1392:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1392:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1407:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1407 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1407:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1407:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1407:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1407:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1418:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1418 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1418:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1418:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1418:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1418:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1421:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1421 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1421:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1421:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1421:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:29:1: note: expanded from here
29 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-scanner.c:1421:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:86:1: note: expanded from here
86 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
55 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-version-functions.c -o mongoc/mongoc-version-functions.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-memcmp.c -o mongoc/mongoc-memcmp.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-server-stream.c -o mongoc/mongoc-server-stream.o
In file included from mongoc/mongoc-server-stream.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-stream.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-stream.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-stream.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-stream.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:282:1: note: expanded from here
282 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-stream.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-stream.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-stream.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-stream.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-stream.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-find-and-modify.c -o mongoc/mongoc-find-and-modify.o
In file included from mongoc/mongoc-find-and-modify.c:21:
In file included from ./mongoc/mongoc-util-private.h:30:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-find-and-modify.c:21:
In file included from ./mongoc/mongoc-util-private.h:30:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-find-and-modify.c:21:
In file included from ./mongoc/mongoc-util-private.h:30:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
3 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-read-concern.c -o mongoc/mongoc-read-concern.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-openssl.c -o mongoc/mongoc-openssl.o
In file included from mongoc/mongoc-openssl.c:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-openssl.c:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-openssl.c:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:257:1: note: expanded from here
257 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-openssl.c:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:292:1: note: expanded from here
292 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-openssl.c:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:9:1: note: expanded from here
9 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-openssl.c:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:67:1: note: expanded from here
67 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-openssl.c:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:102:1: note: expanded from here
102 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-openssl.c:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:71:1: note: expanded from here
71 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-openssl.c:22:
In file included from ./mongoc/mongoc-http-private.h:24:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:106:1: note: expanded from here
106 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-openssl.c:22:
In file included from ./mongoc/mongoc-http-private.h:24:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:261:1: note: expanded from here
261 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:487:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
487 | RETURN(issuer);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:487:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:487:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:487:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:487:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:595:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
595 | TRACE("%s", "found status request in tlsfeature extension");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:180:1: note: expanded from here
180 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:595:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:237:1: note: expanded from here
237 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:595:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:595:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:595:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:608:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
608 | TRACE("%s", "certificate extensions not found");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:608:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:608:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:608:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:608:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:614:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
614 | TRACE("%s", "tlsfeature extension not found");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:614:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:614:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:614:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:614:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:656:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
656 | TRACE("Contacting OCSP responder '%s'", url);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:86:1: note: expanded from here
86 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:656:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:143:1: note: expanded from here
143 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:656:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:656:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:216:1: note: expanded from here
216 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:656:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:661:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
661 | GOTO(retry);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:661:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:661:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:661:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:661:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:666:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
666 | GOTO(retry);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:666:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:666:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:666:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:666:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:672:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
672 | GOTO(retry);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:672:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:672:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:672:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:672:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:678:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
678 | GOTO(retry);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:678:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:678:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:678:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:678:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:684:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
684 | GOTO(retry);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:684:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:684:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:684:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:684:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:697:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
697 | GOTO(retry);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:697:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:8:1: note: expanded from here
8 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:697:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:44:1: note: expanded from here
44 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:697:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:81:1: note: expanded from here
81 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:697:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:138:1: note: expanded from here
138 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:705:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
705 | GOTO(retry);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:705:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:232:1: note: expanded from here
232 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:705:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:705:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:705:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:724:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
724 | RETURN(resp);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:724:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:724:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:247:1: note: expanded from here
247 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:724:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:29:1: note: expanded from here
29 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:724:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:86:1: note: expanded from here
86 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:756:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
756 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:124:1: note: expanded from here
124 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:756:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:181:1: note: expanded from here
181 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:756:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:217:1: note: expanded from here
217 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:756:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:254:1: note: expanded from here
254 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:756:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:764:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
764 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:764:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:764:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:764:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:222:1: note: expanded from here
222 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:764:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:29:1: note: expanded from here
29 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:770:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
770 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:66:1: note: expanded from here
66 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:770:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:123:1: note: expanded from here
123 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:770:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:159:1: note: expanded from here
159 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:770:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:770:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:776:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
776 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:776:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:776:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:776:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:776:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:780:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
780 | GOTO(validate);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:780:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:780:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:780:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:780:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:792:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
792 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:792:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:792:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:792:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:792:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:795:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
795 | TRACE("%s", "Server does not contain a stapled response");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:795:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:795:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:795:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:795:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:800:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
800 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:800:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:800:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:21:1: note: expanded from here
21 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:800:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:58:1: note: expanded from here
58 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:800:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:115:1: note: expanded from here
115 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:811:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
811 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:811:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:811:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:811:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:811:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:815:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
815 | TRACE("%s", "Validating OCSP response");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:815:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:815:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:815:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:815:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:821:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
821 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:821:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:821:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:821:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:821:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:29:1: note: expanded from here
29 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:824:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
824 | TRACE("%s", "OCSP response status successful");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:65:1: note: expanded from here
65 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:824:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:824:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:158:1: note: expanded from here
158 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:824:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:195:1: note: expanded from here
195 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:824:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:832:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
832 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:832:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:832:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:832:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:832:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:852:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
852 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:852:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:852:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:852:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:852:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:859:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
859 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:859:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:859:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:859:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:859:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:866:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
866 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:866:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:866:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:866:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:866:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:872:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
872 | TRACE("%s", "OCSP Certificate Status: Good");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:872:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:872:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:872:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:872:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:880:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
880 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:880:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:880:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:880:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:33:1: note: expanded from here
33 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:880:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:90:1: note: expanded from here
90 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:890:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
890 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:890:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:890:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:890:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:257:1: note: expanded from here
257 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:890:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:908:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
908 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:908:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:908:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:908:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-openssl.c:908:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
175 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-apm.c -o mongoc/mongoc-apm.o
In file included from mongoc/mongoc-apm.c:19:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-apm.c:19:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-apm.c:19:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-apm.c:19:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-apm.c:19:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:282:1: note: expanded from here
282 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-apm.c:19:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
6 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-crypto.c -o mongoc/mongoc-crypto.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-crypto-common-crypto.c -o mongoc/mongoc-crypto-common-crypto.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-crypto-openssl.c -o mongoc/mongoc-crypto-openssl.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-handshake.c -o mongoc/mongoc-handshake.o
In file included from mongoc/mongoc-handshake.c:30:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:143:1: note: expanded from here
143 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-handshake.c:30:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:258:1: note: expanded from here
258 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-handshake.c:30:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-handshake.c:30:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-handshake.c:30:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:78:1: note: expanded from here
78 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-handshake.c:30:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-handshake.c:30:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-handshake.c:30:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:143:1: note: expanded from here
143 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-handshake.c:30:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-handshake.c:30:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:187:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
187 | mlib_diagnostic_push();
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:187:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:188:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
188 | mlib_disable_constant_conditional_expression_warnings();
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:192:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
192 | mlib_diagnostic_pop();
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:232:1: note: expanded from here
232 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:192:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:202:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
202 | mlib_diagnostic_push();
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:70:1: note: expanded from here
70 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:202:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:203:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
203 | mlib_disable_constant_conditional_expression_warnings();
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:207:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
207 | mlib_diagnostic_pop();
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:207:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
793 | bsonBuildAppend(
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:173:1: note: expanded from here
173 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:124:1: note: expanded from here
124 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:793:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-handshake.c:977:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
977 | bsonParse(*hello,
| ^
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:977:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:189:1: note: expanded from here
189 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:977:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:977:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:977:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:71:1: note: expanded from here
71 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:977:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-handshake.c:977:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
69 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-stream-tls-openssl.c -o mongoc/mongoc-stream-tls-openssl.o
In file included from mongoc/mongoc-stream-tls-openssl.c:26:
In file included from ./mongoc/mongoc-ssl-private.h:27:
In file included from ./mongoc/mongoc-uri-private.h:29:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:253:1: note: expanded from here
253 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls-openssl.c:26:
In file included from ./mongoc/mongoc-ssl-private.h:27:
In file included from ./mongoc/mongoc-uri-private.h:29:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls-openssl.c:26:
In file included from ./mongoc/mongoc-ssl-private.h:27:
In file included from ./mongoc/mongoc-uri-private.h:29:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls-openssl.c:27:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls-openssl.c:27:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls-openssl.c:27:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:144:1: note: expanded from here
144 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls-openssl.c:27:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls-openssl.c:27:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls-openssl.c:27:
In file included from ./mongoc/mongoc-stream-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls-openssl.c:27:
In file included from ./mongoc/mongoc-stream-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:17:1: note: expanded from here
17 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:162:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
162 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:162:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:117:1: note: expanded from here
117 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:162:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:162:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:162:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:167:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:88:1: note: expanded from here
88 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:167:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:167:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:181:1: note: expanded from here
181 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:167:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:218:1: note: expanded from here
218 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:167:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:206:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
206 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:67:1: note: expanded from here
67 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:206:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:124:1: note: expanded from here
124 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:206:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:206:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:206:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:237:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
237 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:237:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:237:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:162:1: note: expanded from here
162 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:237:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:237:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:256:1: note: expanded from here
256 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:291:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
291 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:45:1: note: expanded from here
45 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:291:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:102:1: note: expanded from here
102 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:291:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:138:1: note: expanded from here
138 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:291:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:291:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:232:1: note: expanded from here
232 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:339:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
339 | TRACE("Got child_ret: %zd while to_write_len is: %zu", child_ret, to_write_len);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:33:1: note: expanded from here
33 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:339:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:90:1: note: expanded from here
90 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:339:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:339:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:339:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:343:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
343 | TRACE("Returning what I had (%zd) as apposed to the error "
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:256:1: note: expanded from here
256 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:343:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:343:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:343:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:343:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:348:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
348 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:222:1: note: expanded from here
222 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:348:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:30:1: note: expanded from here
30 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:348:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:66:1: note: expanded from here
66 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:348:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:348:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:356:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
356 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:356:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:356:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:356:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:356:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:370:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
370 | RETURN(child_ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:370:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:370:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:370:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:370:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:380:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
380 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:380:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:380:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:380:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:380:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:416:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
416 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:416:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:416:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:416:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:416:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:459:19: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
459 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:459:19: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:151:1: note: expanded from here
151 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:459:19: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:187:1: note: expanded from here
187 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:459:19: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:459:19: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:472:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
472 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:472:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:472:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:472:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:472:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:483:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
483 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:483:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:483:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:483:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:483:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:568:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
568 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:33:1: note: expanded from here
33 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:568:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:90:1: note: expanded from here
90 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:568:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:568:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:568:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:580:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
580 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:580:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:59:1: note: expanded from here
59 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:580:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:580:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:580:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:189:1: note: expanded from here
189 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:585:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
585 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:585:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:585:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:585:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:585:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:590:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
590 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:590:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:590:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:590:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:590:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:599:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
599 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:599:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:599:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:599:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:599:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:604:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
604 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:604:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:604:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:604:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:604:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:619:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
619 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:619:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:619:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:619:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:619:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:629:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
629 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:629:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:629:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:629:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:629:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:639:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
639 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:639:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:639:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:639:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:639:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:655:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
655 | TRACE("%s", "No SNI hostname provided");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:655:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:655:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:655:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:655:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:671:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
671 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:671:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:671:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:671:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:671:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:673:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
673 | RETURN(tls->timed_out || mongoc_stream_timed_out(tls->base_stream));
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:673:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:673:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:673:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:673:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:682:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
682 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:682:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:682:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:682:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:682:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:685:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
685 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:685:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:685:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:685:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:685:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:688:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
688 | RETURN(mongoc_stream_should_retry(tls->base_stream));
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:688:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:688:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:688:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:688:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:706:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
706 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:706:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:706:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:706:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:256:1: note: expanded from here
256 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:706:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:709:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
709 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:709:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:709:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:709:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:709:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:715:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
715 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:715:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:715:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:715:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:715:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:743:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
743 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:743:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:743:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:743:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:743:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:768:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
768 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:768:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:768:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:768:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:768:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:808:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
808 | RETURN((mongoc_stream_t *)tls);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:808:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:808:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:808:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:808:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:840:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
840 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:840:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:840:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:840:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl.c:840:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
195 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-stream-tls-openssl-bio.c -o mongoc/mongoc-stream-tls-openssl-bio.o
In file included from mongoc/mongoc-stream-tls-openssl-bio.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:161:1: note: expanded from here
161 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls-openssl-bio.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:276:1: note: expanded from here
276 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls-openssl-bio.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:43:1: note: expanded from here
43 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls-openssl-bio.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:78:1: note: expanded from here
78 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls-openssl-bio.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls-openssl-bio.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls-openssl-bio.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls-openssl-bio.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls-openssl-bio.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-tls-openssl-bio.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:208:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
208 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:208:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:161:1: note: expanded from here
161 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:208:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:208:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:208:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:213:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
213 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:213:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:213:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:213:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:213:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:217:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
217 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:217:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:217:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:217:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:217:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:245:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
245 | RETURN((int)ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:259:1: note: expanded from here
259 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:245:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:245:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:245:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:245:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:187:1: note: expanded from here
187 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:271:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
271 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:271:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:271:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:71:1: note: expanded from here
71 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:271:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:108:1: note: expanded from here
108 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:271:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:279:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
279 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:279:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:15:1: note: expanded from here
15 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:279:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:51:1: note: expanded from here
51 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:279:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:88:1: note: expanded from here
88 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:279:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:283:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
283 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:181:1: note: expanded from here
181 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:283:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:238:1: note: expanded from here
238 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:283:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:17:1: note: expanded from here
17 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:283:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:283:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:111:1: note: expanded from here
111 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:294:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
294 | RETURN(-1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:294:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:294:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:294:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:294:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:298:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
298 | TRACE("mongoc_stream_writev is expected to write: %d", len);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:298:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:298:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:298:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:298:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:303:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
303 | TRACE("Returned short write: %zd of %d", ret, len);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:303:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:140:1: note: expanded from here
140 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:303:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:303:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:303:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:305:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
305 | TRACE("Completed the %zd", ret);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:305:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:305:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:305:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:305:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:312:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
312 | TRACE("%s", "Requesting a retry");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:312:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:312:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:312:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:312:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:318:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
318 | RETURN((int)ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:318:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:67:1: note: expanded from here
67 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:318:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:318:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:140:1: note: expanded from here
140 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-tls-openssl-bio.c:318:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
75 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-cluster-sasl.c -o mongoc/mongoc-cluster-sasl.o
In file included from mongoc/mongoc-cluster-sasl.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-sasl.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-sasl.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-sasl.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-sasl.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:282:1: note: expanded from here
282 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-sasl.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-sasl.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-sasl.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-sasl.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-sasl.c:18:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-cmd.c -o mongoc/mongoc-cmd.o
In file included from mongoc/mongoc-cmd.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cmd.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cmd.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cmd.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cmd.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:282:1: note: expanded from here
282 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cmd.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cmd.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cmd.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cmd.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cmd.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cmd.c:27:
common/mlib/intencode.h:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
166 | mlib_static_assert(sizeof(double) == sizeof(uint64_t));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:124:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
124 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:306:1: note: expanded from here
306 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:124:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:124:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:124:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:124:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:133:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
133 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:133:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:133:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:133:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:133:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:138:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
138 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:138:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:138:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:23:1: note: expanded from here
23 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:138:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:138:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:117:1: note: expanded from here
117 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:147:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
147 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:147:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:147:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:147:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:147:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:160:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
160 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:160:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:160:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:160:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:160:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:59:1: note: expanded from here
59 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:177:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
177 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:177:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:177:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:177:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:177:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:181:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
181 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:181:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:181:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:181:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:181:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:198:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
198 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:198:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:198:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:198:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:198:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:205:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
205 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:205:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:205:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:205:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:205:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:211:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
211 | OPTS_ERR(COMMAND_INVALID_ARG, "Empty command document");
| ^
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:211:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:211:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:211:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:211:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:215:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
215 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:215:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:215:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:215:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:215:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:221:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
221 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:221:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:221:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:221:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:221:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:230:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
230 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:230:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:230:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:230:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:230:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:233:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
233 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:233:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:233:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:233:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:7:1: note: expanded from here
7 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:233:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:239:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
239 | OPTS_ERR(COMMAND_INVALID_ARG, "Empty command document");
| ^
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:239:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:158:1: note: expanded from here
158 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:239:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:239:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:231:1: note: expanded from here
231 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:239:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:246:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
246 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:246:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:246:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:246:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:246:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:272:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
272 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:272:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:111:1: note: expanded from here
111 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:272:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:272:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:272:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:279:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
279 | OPTS_ERR(COMMAND_INVALID_ARG, "'opts' with 'collation' is too large");
| ^
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:24:1: note: expanded from here
24 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:279:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:81:1: note: expanded from here
81 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:279:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:117:1: note: expanded from here
117 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:279:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:279:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:284:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
284 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:247:1: note: expanded from here
247 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:284:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:284:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:88:1: note: expanded from here
88 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:284:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:125:1: note: expanded from here
125 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:284:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:300:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
300 | OPTS_ERR(COMMAND_INVALID_ARG, "'opts' with extra fields is too large");
| ^
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:222:1: note: expanded from here
222 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:300:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:300:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:70:1: note: expanded from here
70 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:300:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:107:1: note: expanded from here
107 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:300:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-cmd.c:188:7: note: expanded from macro 'OPTS_ERR'
188 | RETURN(false); \
| ^
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:164:1: note: expanded from here
164 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:303:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
303 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:200:1: note: expanded from here
200 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:303:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:303:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:303:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:78:1: note: expanded from here
78 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:303:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:374:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
374 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:374:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:374:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:374:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:374:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:381:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
381 | mlib_diagnostic_push();
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:381:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:382:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
382 | mlib_disable_deprecation_warnings();
| ^
common/mlib/config.h:348:4: note: expanded from macro 'mlib_disable_deprecation_warnings'
348 | mlib_gnu_warning_disable("-Wdeprecated-declarations"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:382:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:348:4: note: expanded from macro 'mlib_disable_deprecation_warnings'
348 | mlib_gnu_warning_disable("-Wdeprecated-declarations"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:382:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:349:4: note: expanded from macro 'mlib_disable_deprecation_warnings'
349 | mlib_msvc_warning(disable : 4996)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:384:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
384 | mlib_diagnostic_pop();
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:384:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:498:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
498 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:498:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:30:1: note: expanded from here
30 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:498:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:66:1: note: expanded from here
66 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:498:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:498:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:505:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
505 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:505:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:505:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:505:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:505:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:553:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
553 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:173:1: note: expanded from here
173 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:553:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:553:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:14:1: note: expanded from here
14 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:553:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:51:1: note: expanded from here
51 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:553:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:108:1: note: expanded from here
108 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:715:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
715 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:715:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:715:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:715:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:715:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:734:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
734 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:734:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:734:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:734:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:256:1: note: expanded from here
256 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:734:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:750:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
750 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:750:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:750:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:750:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:750:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:753:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
753 | TRACE("Preparing '%s'", cmd_name);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:753:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:753:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:753:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:753:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:786:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
786 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:786:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:786:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:786:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:786:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:822:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
822 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:822:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:822:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:822:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:822:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:877:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
877 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:877:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:51:1: note: expanded from here
51 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:877:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:87:1: note: expanded from here
87 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:877:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:124:1: note: expanded from here
124 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:877:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:181:1: note: expanded from here
181 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:896:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
896 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:218:1: note: expanded from here
218 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:896:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:896:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:896:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:896:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:912:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
912 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:912:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:912:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:912:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cmd.c:912:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
188 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-change-stream.c -o mongoc/mongoc-change-stream.o
In file included from mongoc/mongoc-change-stream.c:17:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:262:1: note: expanded from here
262 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-change-stream.c:17:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-change-stream.c:17:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-change-stream.c:17:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-change-stream.c:17:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-change-stream.c:17:
In file included from ./mongoc/mongoc-change-stream-private.h:26:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:258:1: note: expanded from here
258 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-change-stream.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-change-stream.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-change-stream.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-change-stream.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-client-session.c -o mongoc/mongoc-client-session.o
In file included from mongoc/mongoc-client-session.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-session.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-session.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:195:1: note: expanded from here
195 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-session.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-session.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:293:1: note: expanded from here
293 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-session.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-session.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-session.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-session.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-session.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:100:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
100 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:293:1: note: expanded from here
293 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:100:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:100:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:100:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:100:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:109:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
109 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:216:1: note: expanded from here
216 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:109:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:109:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:109:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:109:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:192:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
192 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:192:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:192:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:192:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:192:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:198:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
198 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:198:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:198:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:198:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:198:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:217:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
217 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:217:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:217:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:217:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:217:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:67:1: note: expanded from here
67 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:233:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
233 | GOTO(retry);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:233:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:161:1: note: expanded from here
161 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:233:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:233:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:233:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:247:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
247 | bsonBuildAppend(*reply, insert(reply_local, not(key("errorLabels"))));
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:247:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:247:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:247:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:247:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:247:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:247:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:286:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:286:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:286:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:286:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:286:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:187:1: note: expanded from here
187 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:293:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
293 | RETURN(cloned_opts);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:293:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:293:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:293:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:293:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:300:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
300 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:300:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:300:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:300:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:300:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:303:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
303 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:303:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:303:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:303:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:303:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:309:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
309 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:309:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:309:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:309:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:309:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:382:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
382 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:143:1: note: expanded from here
143 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:382:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:200:1: note: expanded from here
200 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:382:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:236:1: note: expanded from here
236 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:382:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:382:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:389:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
389 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:115:1: note: expanded from here
115 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:389:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:389:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:208:1: note: expanded from here
208 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:389:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:389:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
392 | RETURN(mongoc_optional_value(&opts->causal_consistency));
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:140:1: note: expanded from here
140 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:398:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
398 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:398:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:398:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:398:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:398:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:402:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
402 | RETURN(mongoc_optional_value(&opts->snapshot));
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:402:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:402:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:402:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:402:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:408:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
408 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:408:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:408:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:408:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:408:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:414:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
414 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:232:1: note: expanded from here
232 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:414:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:414:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:414:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:414:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:420:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
420 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:420:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:420:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:420:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:420:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:426:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
426 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:426:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:426:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:426:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:426:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:443:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
443 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:443:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:443:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:443:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:443:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:454:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
454 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:454:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:454:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:454:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:454:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:461:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
461 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:461:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:461:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:461:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:461:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:465:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
465 | RETURN(&opts->default_txn_opts);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:465:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:465:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:465:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:465:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:472:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
472 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:472:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:472:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:472:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:472:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:477:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
477 | RETURN(mongoc_transaction_opts_clone(&session->txn.opts));
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:477:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:477:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:477:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:158:1: note: expanded from here
158 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:477:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:480:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
480 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:480:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:480:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:480:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:480:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:497:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
497 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:497:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:30:1: note: expanded from here
30 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:497:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:66:1: note: expanded from here
66 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:497:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:497:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:504:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
504 | RETURN(cloned_opts);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:504:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:504:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:504:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:79:1: note: expanded from here
79 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:504:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:511:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
511 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:511:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:511:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:15:1: note: expanded from here
15 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:511:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:511:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:514:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
514 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:514:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:514:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:238:1: note: expanded from here
238 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:514:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:514:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:520:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
520 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:520:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:520:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:520:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:520:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:45:1: note: expanded from here
45 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:673:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
673 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:87:1: note: expanded from here
87 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:673:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:144:1: note: expanded from here
144 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:673:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:180:1: note: expanded from here
180 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:673:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:217:1: note: expanded from here
217 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:673:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:29:1: note: expanded from here
29 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:676:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
676 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:68:1: note: expanded from here
68 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:676:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:125:1: note: expanded from here
125 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:676:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:161:1: note: expanded from here
161 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:676:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:676:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:685:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
685 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:685:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:685:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:685:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:171:1: note: expanded from here
171 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:685:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:694:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
694 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:694:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:68:1: note: expanded from here
68 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:694:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:694:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:694:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:709:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
709 | RETURN(timeout_usec - bson_get_monotonic_time() < 1 * minute_to_usec);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:709:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:709:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:709:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:709:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:728:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
728 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:728:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:728:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:728:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:728:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:767:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
767 | RETURN(session);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:767:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:767:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:767:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:767:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:822:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
822 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:822:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:822:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:17:1: note: expanded from here
17 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:822:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:822:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:111:1: note: expanded from here
111 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:827:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
827 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:827:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:827:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:827:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:827:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:835:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
835 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:835:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:835:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:835:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:835:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:854:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
854 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:854:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:854:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:854:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:854:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:864:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
864 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:864:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:864:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:864:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:864:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:913:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
913 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:913:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:913:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:913:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:913:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:949:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
949 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:949:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:949:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:949:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:949:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:24:1: note: expanded from here
24 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:958:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
958 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:958:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:958:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:958:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:958:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:984:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
984 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:984:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:103:1: note: expanded from here
103 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:984:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:139:1: note: expanded from here
139 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:984:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:984:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:233:1: note: expanded from here
233 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:989:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
989 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:989:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:989:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:111:1: note: expanded from here
111 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:989:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:989:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1011:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1011 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1011:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:45:1: note: expanded from here
45 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1011:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:81:1: note: expanded from here
81 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1011:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1011:16: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1036:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1036 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1036:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1036:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1036:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1036:13: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1040:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1040 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1040:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1040:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1040:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1040:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1057:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1057 | RETURN(res);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1057:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1057:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1057:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1057:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1068:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1068 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1068:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1068:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1068:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:31:1: note: expanded from here
31 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1068:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:88:1: note: expanded from here
88 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1077:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1077 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1077:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1077:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1077:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:258:1: note: expanded from here
258 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1077:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:58:1: note: expanded from here
58 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1086:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1086 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1086:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1086:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:188:1: note: expanded from here
188 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1086:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1086:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1096:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1096 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1096:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1096:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1096:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1096:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1127:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1127 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1127:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1127:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1127:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1127:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1149:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1149 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:24:1: note: expanded from here
24 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1149:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:81:1: note: expanded from here
81 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1149:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:117:1: note: expanded from here
117 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1149:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1149:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1154:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1154 | RETURN(_mongoc_client_session_in_txn(session));
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1154:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1154:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1154:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1154:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1161:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1161 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1161:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1161:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1161:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1161:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:158:1: note: expanded from here
158 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1167:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1167 | RETURN(MONGOC_TRANSACTION_NONE);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1167:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1167:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1167:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1167:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1169:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1169 | RETURN(MONGOC_TRANSACTION_STARTING);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1169:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1169:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1169:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1169:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1171:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1171 | RETURN(MONGOC_TRANSACTION_IN_PROGRESS);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1171:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1171:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1171:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1171:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1174:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1174 | RETURN(MONGOC_TRANSACTION_COMMITTED);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1174:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1174:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1174:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1174:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1176:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1176 | RETURN(MONGOC_TRANSACTION_ABORTED);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1176:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1176:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1176:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1176:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:24:1: note: expanded from here
24 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1192:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1192 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1192:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:117:1: note: expanded from here
117 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1192:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1192:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1192:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:247:1: note: expanded from here
247 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1212:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1212 | RETURN(r);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1212:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1212:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1212:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1212:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1256:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1256 | RETURN(r);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:17:1: note: expanded from here
17 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1256:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1256:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1256:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1256:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1263:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1263 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1263:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:43:1: note: expanded from here
43 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1263:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:79:1: note: expanded from here
79 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1263:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1263:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:173:1: note: expanded from here
173 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1276:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1276 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1276:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1276:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1276:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1276:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1284:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1284 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1284:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1284:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1284:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1284:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1291:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1291 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1291:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1291:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1291:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1291:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1295:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1295 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1295:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1295:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1295:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1295:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:68:1: note: expanded from here
68 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1303:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1303 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1303:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:161:1: note: expanded from here
161 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1303:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1303:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1303:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1314:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1314 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1314:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1314:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1314:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1314:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1320:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1320 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1320:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1320:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1320:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1320:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1323:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1323 | RETURN(_mongoc_client_lookup_session(client, (uint32_t)bson_iter_int64(iter), cs, error));
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1323:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1323:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1323:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1323:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1408:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1408 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1408:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1408:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1408:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1408:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1411:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1411 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1411:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1411:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1411:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1411:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1416:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1416 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1416:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1416:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1416:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1416:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1432:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1432 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1432:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1432:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1432:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1432:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1438:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1438 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1438:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1438:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1438:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1438:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:68:1: note: expanded from here
68 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1451:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1451 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1451:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:161:1: note: expanded from here
161 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1451:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1451:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1451:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1454:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1454 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1454:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1454:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1454:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1454:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1491:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1491 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1491:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1491:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1491:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1491:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1547:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1547 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1547:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1547:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1547:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:158:1: note: expanded from here
158 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1547:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1555:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1555 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1555:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:59:1: note: expanded from here
59 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1555:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1555:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1555:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:189:1: note: expanded from here
189 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1558:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1558 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1558:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1558:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1558:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1558:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1565:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1565 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1565:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1565:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1565:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1565:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1568:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1568 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1568:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1568:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:23:1: note: expanded from here
23 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1568:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1568:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:117:1: note: expanded from here
117 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1593:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1593 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1593:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1593:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1593:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-session.c:1593:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
477 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-cluster-cyrus.c -o mongoc/mongoc-cluster-cyrus.o
In file included from mongoc/mongoc-cluster-cyrus.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-cyrus.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-cyrus.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-cyrus.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-cyrus.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:282:1: note: expanded from here
282 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-cyrus.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-cyrus.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-cyrus.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-cyrus.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-cyrus.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-cyrus.c:77:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
77 | TRACE("SASL: authenticating (step %d)", sasl.step);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:312:1: note: expanded from here
312 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-cyrus.c:77:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-cyrus.c:77:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-cyrus.c:77:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-cyrus.c:77:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:187:1: note: expanded from here
187 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-cyrus.c:126:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
126 | TRACE("%s", "SASL: authenticated");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-cyrus.c:126:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-cyrus.c:126:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:71:1: note: expanded from here
71 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-cyrus.c:126:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:108:1: note: expanded from here
108 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-cyrus.c:126:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
20 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-compression.c -o mongoc/mongoc-compression.o
In file included from mongoc/mongoc-compression.c:18:
In file included from ./mongoc/mongoc-compression-private.h:25:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-compression.c:18:
In file included from ./mongoc/mongoc-compression-private.h:25:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-compression.c:18:
In file included from ./mongoc/mongoc-compression-private.h:25:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:285:1: note: expanded from here
285 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-compression.c:41:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
41 | TRACE("Getting compression length for '%s' (%d)", mongoc_compressor_id_to_name(compressor_id), compressor_id);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-compression.c:41:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-compression.c:41:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-compression.c:41:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-compression.c:41:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-compression.c:159:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
159 | TRACE("Uncompressing with '%s' (%d)", mongoc_compressor_id_to_name(compressor_id), compressor_id);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-compression.c:159:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:187:1: note: expanded from here
187 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-compression.c:159:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-compression.c:159:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:260:1: note: expanded from here
260 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-compression.c:159:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-compression.c:247:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
247 | TRACE("Compressing with '%s' (%d)", mongoc_compressor_id_to_name(compressor_id), compressor_id);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:78:1: note: expanded from here
78 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-compression.c:247:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-compression.c:247:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:171:1: note: expanded from here
171 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-compression.c:247:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:208:1: note: expanded from here
208 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-compression.c:247:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:18:1: note: expanded from here
18 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
18 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-cyrus.c -o mongoc/mongoc-cyrus.o
In file included from mongoc/mongoc-cyrus.c:23:
In file included from ./mongoc/mongoc-cyrus-private.h:22:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:143:1: note: expanded from here
143 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cyrus.c:23:
In file included from ./mongoc/mongoc-cyrus-private.h:22:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:258:1: note: expanded from here
258 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cyrus.c:23:
In file included from ./mongoc/mongoc-cyrus-private.h:22:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cyrus.c:23:
In file included from ./mongoc/mongoc-cyrus-private.h:22:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cyrus.c:23:
In file included from ./mongoc/mongoc-cyrus-private.h:22:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cyrus.c:23:
In file included from ./mongoc/mongoc-cyrus-private.h:22:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cyrus.c:23:
In file included from ./mongoc/mongoc-cyrus-private.h:22:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cyrus.c:23:
In file included from ./mongoc/mongoc-cyrus-private.h:22:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:143:1: note: expanded from here
143 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cyrus.c:23:
In file included from ./mongoc/mongoc-cyrus-private.h:22:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cyrus.c:23:
In file included from ./mongoc/mongoc-cyrus-private.h:22:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:124:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
124 | TRACE("Canonicalizing %s (%" PRIu32 ")\n", in, inlen);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:124:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:124:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:265:1: note: expanded from here
265 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:124:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:17:1: note: expanded from here
17 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:124:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:243:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
243 | TRACE("Got status: %d ok is %d, continue=%d interact=%d\n", status, SASL_OK, SASL_CONTINUE, SASL_INTERACT);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:243:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:243:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:221:1: note: expanded from here
221 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:243:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:243:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:320:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
320 | TRACE("Created new sasl client %s", status == SASL_OK ? "successfully" : "UNSUCCESSFULLY");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:106:1: note: expanded from here
106 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:320:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:320:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:320:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:236:1: note: expanded from here
236 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:320:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:326:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
326 | TRACE("Started the sasl client %s", status == SASL_CONTINUE ? "successfully" : "UNSUCCESSFULLY");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:326:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:326:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:326:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:326:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:378:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
378 | TRACE("Running %d, inbuflen: %" PRIu32, sasl->step, inbuflen);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:378:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:378:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:378:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:378:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
392 | TRACE("Running %d, inbuflen: %" PRIu32, sasl->step, inbuflen);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:392:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:422:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
422 | TRACE("%s", "Running client_step");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:17:1: note: expanded from here
17 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:422:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:74:1: note: expanded from here
74 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:422:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:422:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:422:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:424:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
424 | TRACE("%s sent a client step", status == SASL_OK ? "Successfully" : "UNSUCCESSFULLY");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:424:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:424:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:424:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cyrus.c:424:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
50 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-linux-distro-scanner.c -o mongoc/mongoc-linux-distro-scanner.o
In file included from mongoc/mongoc-linux-distro-scanner.c:24:
In file included from ./mongoc/mongoc-util-private.h:30:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:255:1: note: expanded from here
255 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-linux-distro-scanner.c:24:
In file included from ./mongoc/mongoc-util-private.h:30:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-linux-distro-scanner.c:24:
In file included from ./mongoc/mongoc-util-private.h:30:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:51:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
51 | TRACE("fgets() failed with error %d", errno);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:30:1: note: expanded from here
30 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:51:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:87:1: note: expanded from here
87 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:51:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:123:1: note: expanded from here
123 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:51:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:160:1: note: expanded from here
160 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:51:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:217:1: note: expanded from here
217 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:72:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
72 | TRACE("Found line of length %zu, bailing out", len);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:253:1: note: expanded from here
253 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:72:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:72:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:72:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:72:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:95:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
95 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:95:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:95:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:95:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:95:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:102:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
102 | TRACE("Encountered malformed line: %s", line);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:102:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:102:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:102:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:102:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:104:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
104 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:104:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:104:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:104:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:104:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:122:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
122 | TRACE("Found name: %s", *name);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:122:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:122:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:122:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:122:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:125:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
125 | TRACE("Found version: %s", *version);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:125:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:125:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:125:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:125:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:128:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
128 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:128:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:128:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:128:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:128:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:154:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
154 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:154:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:154:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:154:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:154:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:168:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
168 | TRACE("No permission to read from %s: errno: %d", path, errno);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:168:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:168:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:168:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:168:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:169:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
169 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:169:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:169:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:169:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:169:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:175:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
175 | TRACE("fopen failed on %s: %d", path, errno);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:175:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:175:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:175:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:175:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:176:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
176 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:176:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:176:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:176:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:176:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:198:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
198 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:198:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:198:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:198:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:198:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:210:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
210 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:210:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:210:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:210:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:7:1: note: expanded from here
7 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:210:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:219:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
219 | TRACE("file %s exists, but cannot be read: error %d", *p, errno);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:219:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:219:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:219:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:219:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:223:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
223 | RETURN(*p);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:223:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:223:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:223:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:223:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:226:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
226 | RETURN(NULL);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:226:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:226:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:226:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:226:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:239:1: note: expanded from here
239 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:286:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:286:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:286:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:286:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:286:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:294:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
294 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:294:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:294:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:294:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:294:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:300:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
300 | TRACE("Found %s exists and readable but couldn't open: %d", path, errno);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:300:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:300:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:300:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:300:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:301:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
301 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:301:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:301:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:301:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:301:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:308:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
308 | TRACE("Trying to split buffer with contents %s", buffer);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:308:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:308:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:308:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:308:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:316:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
316 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:316:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:316:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:316:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:316:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:68:1: note: expanded from here
68 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:373:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
373 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:373:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:161:1: note: expanded from here
161 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:373:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:373:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:373:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:381:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
381 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:381:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:381:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:381:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:381:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:388:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
388 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:388:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:112:1: note: expanded from here
112 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:388:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:388:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:388:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:242:1: note: expanded from here
242 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:395:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
395 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:395:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:395:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:395:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:395:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:403:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
403 | RETURN(true);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:403:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:403:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:403:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:403:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:412:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
412 | RETURN(false);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:412:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:412:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:412:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-linux-distro-scanner.c:412:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
153 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-stream-file.c -o mongoc/mongoc-stream-file.o
In file included from mongoc/mongoc-stream-file.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-file.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-file.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-file.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-file.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-file.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:269:1: note: expanded from here
269 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-file.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:304:1: note: expanded from here
304 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-file.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:280:1: note: expanded from here
280 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-file.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:315:1: note: expanded from here
315 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-stream-file.c:24:
In file included from ./mongoc/mongoc-stream-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:49:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
49 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:184:1: note: expanded from here
184 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:49:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:241:1: note: expanded from here
241 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:49:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:277:1: note: expanded from here
277 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:49:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:49:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:60:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
60 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:60:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:179:1: note: expanded from here
179 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:60:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:60:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:252:1: note: expanded from here
252 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:60:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:63:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
63 | RETURN(0);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:63:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:63:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:182:1: note: expanded from here
182 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:63:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:219:1: note: expanded from here
219 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:63:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:72:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
72 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:72:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:72:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:72:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:72:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:85:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
85 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:85:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:85:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:85:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:85:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:226:1: note: expanded from here
226 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:92:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
92 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:92:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:92:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:92:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:92:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
96 | EXIT;
| ^
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:70:7: note: expanded from macro 'EXIT'
70 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:71:7: note: expanded from macro 'EXIT'
71 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:75:7: note: expanded from macro 'EXIT'
75 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:158:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
158 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:158:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:158:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:158:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:158:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:161:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
161 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:161:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:161:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:161:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:65:1: note: expanded from here
65 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-stream-file.c:161:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
55 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mcd-rpc.c -o mongoc/mcd-rpc.o
In file included from mongoc/mcd-rpc.c:3:
In file included from common/mlib/intencode.h:24:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mcd-rpc.c:3:
In file included from common/mlib/intencode.h:24:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:271:1: note: expanded from here
271 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mcd-rpc.c:3:
In file included from common/mlib/intencode.h:24:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mcd-rpc.c:3:
common/mlib/intencode.h:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
166 | mlib_static_assert(sizeof(double) == sizeof(uint64_t));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:148:1: note: expanded from here
148 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
4 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-deprioritized-servers.c -o mongoc/mongoc-deprioritized-servers.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-opts.c -o mongoc/mongoc-opts.o
In file included from mongoc/mongoc-opts.c:1:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-opts.c:1:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-opts.c:1:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-opts.c:1:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-opts.c:1:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:282:1: note: expanded from here
282 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-opts.c:1:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-opts.c:1:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-opts.c:1:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-opts.c:1:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-opts.c:1:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-opts-helpers.c -o mongoc/mongoc-opts-helpers.o
In file included from mongoc/mongoc-opts-helpers.c:17:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:262:1: note: expanded from here
262 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-opts-helpers.c:17:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-opts-helpers.c:17:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-opts-helpers.c:17:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-opts-helpers.c:17:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-opts-helpers.c:17:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:258:1: note: expanded from here
258 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
6 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-cursor-cmd.c -o mongoc/mongoc-cursor-cmd.o
In file included from mongoc/mongoc-cursor-cmd.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-cmd.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-cmd.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-cmd.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-cmd.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:282:1: note: expanded from here
282 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-cmd.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-cmd.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-cmd.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-cmd.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-cmd.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-cursor-find.c -o mongoc/mongoc-cursor-find.o
In file included from mongoc/mongoc-cursor-find.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-find.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-find.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-find.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-find.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:282:1: note: expanded from here
282 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-find.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-find.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-find.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-find.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-find.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-error.c -o mongoc/mongoc-error.o
In file included from mongoc/mongoc-error.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-error.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-error.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-error.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-error.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:282:1: note: expanded from here
282 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-error.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-error.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-error.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-error.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-error.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-aggregate.c -o mongoc/mongoc-aggregate.o
In file included from mongoc/mongoc-aggregate.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-aggregate.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-aggregate.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:195:1: note: expanded from here
195 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-aggregate.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-aggregate.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:293:1: note: expanded from here
293 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-aggregate.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-aggregate.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-aggregate.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-aggregate.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-aggregate.c:20:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
96 | bsonBuild(*command,
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:298:1: note: expanded from here
298 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:90:1: note: expanded from here
90 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:144:1: note: expanded from here
144 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:180:1: note: expanded from here
180 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:96:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
115 | bsonParse(*pipeline,
| ^
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:106:1: note: expanded from here
106 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:69:18: note: expanded from macro 'bsonParse'
69 | _bsonDSL_eval(_bsonParse((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:651:7: note: expanded from macro '_bsonParse'
651 | _bsonParse_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:658:52: note: expanded from macro '_bsonParse_applyOps'
658 | #define _bsonParse_applyOps(...) _bsonDSL_mapMacro(_bsonParse_applyOp, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:115:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:129:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
129 | bsonParse(*command,
| ^
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:129:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:129:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:129:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:129:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:129:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:129:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:67:1: note: expanded from here
67 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
145 | bsonBuildAppend(*command,
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:106:1: note: expanded from here
106 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:161:1: note: expanded from here
161 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:197:1: note: expanded from here
197 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:96:1: note: expanded from here
96 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:151:1: note: expanded from here
151 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:145:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:871:4: note: expanded from macro '_bsonBuildAppend'
871 | _bsonBuildAppendWithCurrentContext(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:397:67: note: expanded from macro '_bsonBuildAppendWithCurrentContext'
397 | #define _bsonBuildAppendWithCurrentContext(...) _bsonDSL_mapMacro(_bsonDocOperation, ~, __VA_ARGS__)
| ^
mongoc/mongoc-aggregate.c:235:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
235 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:235:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:173:1: note: expanded from here
173 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:235:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:209:1: note: expanded from here
209 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:235:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:12:1: note: expanded from here
12 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:235:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:263:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
263 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:115:1: note: expanded from here
115 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:263:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:172:1: note: expanded from here
172 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:263:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:208:1: note: expanded from here
208 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:263:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:263:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:269:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
269 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:269:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:269:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:269:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:269:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:273:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
273 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:273:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:273:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:273:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:273:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:277:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
277 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:277:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:94:1: note: expanded from here
94 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:277:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:277:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:277:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:287:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
287 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:287:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:287:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:287:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:287:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:300:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
300 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:300:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:300:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:300:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:300:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:315:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
315 | RETURN(cursor);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:315:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:315:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:315:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-aggregate.c:315:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
106 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-client-side-encryption.c -o mongoc/mongoc-client-side-encryption.o
In file included from mongoc/mongoc-client-side-encryption.c:27:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:161:1: note: expanded from here
161 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-side-encryption.c:27:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:276:1: note: expanded from here
276 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-side-encryption.c:27:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-side-encryption.c:27:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:62:1: note: expanded from here
62 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-side-encryption.c:27:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-side-encryption.c:27:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-side-encryption.c:27:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-side-encryption.c:27:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:143:1: note: expanded from here
143 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-side-encryption.c:27:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-client-side-encryption.c:27:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-side-encryption.c:3232:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
3232 | bsonVisitEach(*in_field,
| ^
common/common-bson-dsl-private.h:78:4: note: expanded from macro 'bsonVisitEach'
78 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-side-encryption.c:3232:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:78:4: note: expanded from macro 'bsonVisitEach'
78 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:204:1: note: expanded from here
204 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-side-encryption.c:3232:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:78:4: note: expanded from macro 'bsonVisitEach'
78 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-side-encryption.c:3232:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:78:4: note: expanded from macro 'bsonVisitEach'
78 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-side-encryption.c:3232:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:78:4: note: expanded from macro 'bsonVisitEach'
78 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:71:1: note: expanded from here
71 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-side-encryption.c:3232:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:82:4: note: expanded from macro 'bsonVisitEach'
82 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:21:1: note: expanded from here
21 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-side-encryption.c:3232:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:82:4: note: expanded from macro 'bsonVisitEach'
82 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:78:1: note: expanded from here
78 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
3267 | bsonVisitEach(
| ^
common/common-bson-dsl-private.h:78:4: note: expanded from macro 'bsonVisitEach'
78 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:78:4: note: expanded from macro 'bsonVisitEach'
78 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:78:4: note: expanded from macro 'bsonVisitEach'
78 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:78:4: note: expanded from macro 'bsonVisitEach'
78 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:78:4: note: expanded from macro 'bsonVisitEach'
78 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:81:18: note: expanded from macro 'bsonVisitEach'
81 | _bsonDSL_eval(_bsonVisitEach((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:565:10: note: expanded from macro '_bsonVisitEach'
565 | _bsonVisit_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:828:29: note: expanded from macro '_bsonVisit_applyOps'
828 | #define _bsonVisit_applyOps _bsonVisit_applyOpsDeferred _bsonDSL_nothing()
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:81:18: note: expanded from macro 'bsonVisitEach'
81 | _bsonDSL_eval(_bsonVisitEach((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:565:10: note: expanded from macro '_bsonVisitEach'
565 | _bsonVisit_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:828:29: note: expanded from macro '_bsonVisit_applyOps'
828 | #define _bsonVisit_applyOps _bsonVisit_applyOpsDeferred _bsonDSL_nothing()
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:81:18: note: expanded from macro 'bsonVisitEach'
81 | _bsonDSL_eval(_bsonVisitEach((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:565:10: note: expanded from macro '_bsonVisitEach'
565 | _bsonVisit_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:828:29: note: expanded from macro '_bsonVisit_applyOps'
828 | #define _bsonVisit_applyOps _bsonVisit_applyOpsDeferred _bsonDSL_nothing()
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:81:18: note: expanded from macro 'bsonVisitEach'
81 | _bsonDSL_eval(_bsonVisitEach((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:565:10: note: expanded from macro '_bsonVisitEach'
565 | _bsonVisit_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:828:29: note: expanded from macro '_bsonVisit_applyOps'
828 | #define _bsonVisit_applyOps _bsonVisit_applyOpsDeferred _bsonDSL_nothing()
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:81:18: note: expanded from macro 'bsonVisitEach'
81 | _bsonDSL_eval(_bsonVisitEach((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:565:10: note: expanded from macro '_bsonVisitEach'
565 | _bsonVisit_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:828:29: note: expanded from macro '_bsonVisit_applyOps'
828 | #define _bsonVisit_applyOps _bsonVisit_applyOpsDeferred _bsonDSL_nothing()
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:81:18: note: expanded from macro 'bsonVisitEach'
81 | _bsonDSL_eval(_bsonVisitEach((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:565:10: note: expanded from macro '_bsonVisitEach'
565 | _bsonVisit_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:828:29: note: expanded from macro '_bsonVisit_applyOps'
828 | #define _bsonVisit_applyOps _bsonVisit_applyOpsDeferred _bsonDSL_nothing()
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:81:18: note: expanded from macro 'bsonVisitEach'
81 | _bsonDSL_eval(_bsonVisitEach((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:565:10: note: expanded from macro '_bsonVisitEach'
565 | _bsonVisit_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:828:29: note: expanded from macro '_bsonVisit_applyOps'
828 | #define _bsonVisit_applyOps _bsonVisit_applyOpsDeferred _bsonDSL_nothing()
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:81:18: note: expanded from macro 'bsonVisitEach'
81 | _bsonDSL_eval(_bsonVisitEach((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:565:10: note: expanded from macro '_bsonVisitEach'
565 | _bsonVisit_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:828:29: note: expanded from macro '_bsonVisit_applyOps'
828 | #define _bsonVisit_applyOps _bsonVisit_applyOpsDeferred _bsonDSL_nothing()
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:81:18: note: expanded from macro 'bsonVisitEach'
81 | _bsonDSL_eval(_bsonVisitEach((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:565:10: note: expanded from macro '_bsonVisitEach'
565 | _bsonVisit_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:828:29: note: expanded from macro '_bsonVisit_applyOps'
828 | #define _bsonVisit_applyOps _bsonVisit_applyOpsDeferred _bsonDSL_nothing()
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:81:18: note: expanded from macro 'bsonVisitEach'
81 | _bsonDSL_eval(_bsonVisitEach((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:565:10: note: expanded from macro '_bsonVisitEach'
565 | _bsonVisit_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:828:29: note: expanded from macro '_bsonVisit_applyOps'
828 | #define _bsonVisit_applyOps _bsonVisit_applyOpsDeferred _bsonDSL_nothing()
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:81:18: note: expanded from macro 'bsonVisitEach'
81 | _bsonDSL_eval(_bsonVisitEach((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:565:10: note: expanded from macro '_bsonVisitEach'
565 | _bsonVisit_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:828:29: note: expanded from macro '_bsonVisit_applyOps'
828 | #define _bsonVisit_applyOps _bsonVisit_applyOpsDeferred _bsonDSL_nothing()
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:81:18: note: expanded from macro 'bsonVisitEach'
81 | _bsonDSL_eval(_bsonVisitEach((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:565:10: note: expanded from macro '_bsonVisitEach'
565 | _bsonVisit_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:828:29: note: expanded from macro '_bsonVisit_applyOps'
828 | #define _bsonVisit_applyOps _bsonVisit_applyOpsDeferred _bsonDSL_nothing()
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:81:18: note: expanded from macro 'bsonVisitEach'
81 | _bsonDSL_eval(_bsonVisitEach((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:565:10: note: expanded from macro '_bsonVisitEach'
565 | _bsonVisit_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:828:29: note: expanded from macro '_bsonVisit_applyOps'
828 | #define _bsonVisit_applyOps _bsonVisit_applyOpsDeferred _bsonDSL_nothing()
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:81:18: note: expanded from macro 'bsonVisitEach'
81 | _bsonDSL_eval(_bsonVisitEach((Document), __VA_ARGS__)); \
| ^
common/common-bson-dsl-private.h:565:10: note: expanded from macro '_bsonVisitEach'
565 | _bsonVisit_applyOps(__VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:828:29: note: expanded from macro '_bsonVisit_applyOps'
828 | #define _bsonVisit_applyOps _bsonVisit_applyOpsDeferred _bsonDSL_nothing()
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:82:4: note: expanded from macro 'bsonVisitEach'
82 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-client-side-encryption.c:3267:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:82:4: note: expanded from macro 'bsonVisitEach'
82 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
38 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-cursor-change-stream.c -o mongoc/mongoc-cursor-change-stream.o
In file included from mongoc/mongoc-cursor-change-stream.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-change-stream.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-change-stream.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-change-stream.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-change-stream.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:282:1: note: expanded from here
282 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-change-stream.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-change-stream.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-change-stream.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-change-stream.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cursor-change-stream.c:16:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-cluster-aws.c -o mongoc/mongoc-cluster-aws.o
In file included from mongoc/mongoc-cluster-aws.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-aws.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:260:1: note: expanded from here
260 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-aws.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-aws.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-aws.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-aws.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-aws.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-aws.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:143:1: note: expanded from here
143 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-aws.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-aws.c:21:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:782:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
782 | TRACE("%s", "checking URI for credentials");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:782:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:782:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:782:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:782:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:791:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
791 | TRACE("%s", "checking environment variables for credentials");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:791:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:791:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:791:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:791:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:811:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
811 | TRACE("%s", "checking AssumeRoleWithWebIdentity for credentials");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:6:1: note: expanded from here
6 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:811:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:811:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:811:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:811:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:825:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
825 | TRACE("%s", "checking ECS metadata for credentials");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:825:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:825:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:825:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:825:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:839:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
839 | TRACE("%s", "checking EC2 metadata for credentials");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:839:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:839:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:839:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-aws.c:839:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
35 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-generation-map.c -o mongoc/mongoc-generation-map.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-timeout.c -o mongoc/mongoc-timeout.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-server-monitor.c -o mongoc/mongoc-server-monitor.o
In file included from mongoc/mongoc-server-monitor.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:54:1: note: expanded from here
54 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-monitor.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-monitor.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-monitor.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:247:1: note: expanded from here
247 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-monitor.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:306:1: note: expanded from here
306 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-monitor.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:22:1: note: expanded from here
22 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-monitor.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-monitor.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-monitor.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-monitor.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-server-monitor.c:36:
common/mlib/intencode.h:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
166 | mlib_static_assert(sizeof(double) == sizeof(uint64_t));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:169:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
169 | MONITOR_LOG(server_monitor, "%s heartbeat started", awaited ? "awaitable" : "regular");
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:169:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:220:1: note: expanded from here
220 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:169:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:8:1: note: expanded from here
8 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:169:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:44:1: note: expanded from here
44 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:169:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:211:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
211 | MONITOR_LOG(server_monitor, "%s heartbeat succeeded", awaited ? "awaitable" : "regular");
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:211:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:211:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:97:1: note: expanded from here
97 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:211:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:211:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:253:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
253 | MONITOR_LOG(server_monitor, "%s heartbeat failed", awaited ? "awaitable" : "regular");
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:64:1: note: expanded from here
64 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:253:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:253:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:253:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:253:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:296:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
296 | MONITOR_LOG(server_monitor, "sending with timeout %" PRId64, server_monitor->connect_timeout_ms);
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:296:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:139:1: note: expanded from here
139 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:296:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:296:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:296:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:556:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
556 | MONITOR_LOG(server_monitor, "sending with timeout %" PRId64, server_monitor->connect_timeout_ms);
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:70:1: note: expanded from here
70 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:556:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:127:1: note: expanded from here
127 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:556:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:163:1: note: expanded from here
163 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:556:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:556:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:596:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
596 | MONITOR_LOG(server_monitor, "_server_monitor_poll_with_interrupt expires in: %" PRId64 "ms", timeleft_ms);
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:596:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:596:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:596:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:596:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:601:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
601 | MONITOR_LOG(server_monitor, "polling for awaitable hello reply with timeleft_ms: %" PRId64, timeleft_ms);
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:8:1: note: expanded from here
8 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:601:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:65:1: note: expanded from here
65 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:601:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:601:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:137:1: note: expanded from here
137 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:601:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:604:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
604 | MONITOR_LOG(server_monitor, "mongoc_stream_poll error");
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:604:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:604:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:604:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:108:1: note: expanded from here
108 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:604:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:621:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
621 | MONITOR_LOG(server_monitor, "polling cancelled");
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:621:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:621:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:621:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:621:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:626:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
626 | MONITOR_LOG(server_monitor, "mongoc_stream_poll ready to read");
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:626:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:249:1: note: expanded from here
249 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:626:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:626:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:626:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:129:1: note: expanded from here
129 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:681:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
681 | GOTO(fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:681:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:681:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:681:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:681:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:686:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
686 | GOTO(fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:686:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:686:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:686:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:8:1: note: expanded from here
8 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:686:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:65:1: note: expanded from here
65 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:689:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
689 | MONITOR_LOG(server_monitor, "reading first 4 bytes with timeout: %" PRId64, timeout_ms);
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:689:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:158:1: note: expanded from here
158 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:689:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:689:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:689:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:692:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
692 | GOTO(fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:692:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:692:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:692:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:692:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:707:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
707 | GOTO(fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:53:1: note: expanded from here
53 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:707:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:110:1: note: expanded from here
110 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:707:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:707:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:183:1: note: expanded from here
183 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:707:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:240:1: note: expanded from here
240 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:712:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
712 | GOTO(fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:712:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:712:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:712:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:712:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:717:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
717 | MONITOR_LOG(server_monitor, "reading remaining %zu bytes. Timeout %" PRId64, remaining_bytes, timeout_ms);
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:717:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:717:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:717:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:118:1: note: expanded from here
118 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:717:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:175:1: note: expanded from here
175 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:719:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
719 | GOTO(fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:719:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:719:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:719:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:100:1: note: expanded from here
100 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:719:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:725:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
725 | GOTO(fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:725:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:725:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:725:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:725:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:733:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
733 | GOTO(fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:733:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:224:1: note: expanded from here
224 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:733:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:733:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:733:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:740:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
740 | GOTO(fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:136:1: note: expanded from here
136 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:740:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:740:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:740:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:12:1: note: expanded from here
12 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:740:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:787:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
787 | GOTO(fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:107:1: note: expanded from here
107 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:787:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:164:1: note: expanded from here
164 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:787:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:200:1: note: expanded from here
200 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:787:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:237:1: note: expanded from here
237 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:787:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:792:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
792 | GOTO(fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:792:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:792:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:169:1: note: expanded from here
169 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:792:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:206:1: note: expanded from here
206 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:792:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:21:1: note: expanded from here
21 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:914:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
914 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:66:1: note: expanded from here
66 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:914:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:123:1: note: expanded from here
123 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:914:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:159:1: note: expanded from here
159 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:914:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:914:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:953:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
953 | GOTO(fail);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:51:1: note: expanded from here
51 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:953:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:108:1: note: expanded from here
108 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:953:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:144:1: note: expanded from here
144 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:953:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:181:1: note: expanded from here
181 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:953:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:238:1: note: expanded from here
238 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:967:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
967 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:967:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:77:1: note: expanded from here
77 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:967:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:113:1: note: expanded from here
113 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:967:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:967:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1019:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1019 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1019:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:46:1: note: expanded from here
46 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1019:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:82:1: note: expanded from here
82 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1019:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1019:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1029:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1029 | MONITOR_LOG(server_monitor, "setting up connection");
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1029:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1029:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1029:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1029:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1033:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1033 | GOTO(exit);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1033:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1033:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1033:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1033:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1040:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1040 | MONITOR_LOG(server_monitor, "more to come");
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1040:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1040:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1040:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1040:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1042:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1042 | GOTO(exit);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:135:1: note: expanded from here
135 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1042:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1042:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:228:1: note: expanded from here
228 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1042:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:12:1: note: expanded from here
12 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1042:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1048:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1048 | MONITOR_LOG(server_monitor, "awaitable hello");
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1048:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:162:1: note: expanded from here
162 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1048:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1048:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:234:1: note: expanded from here
234 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1048:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1050:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1050 | GOTO(exit);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1050:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1050:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1050:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:205:1: note: expanded from here
205 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1050:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:21:1: note: expanded from here
21 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1053:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1053 | MONITOR_LOG(server_monitor, "polling hello");
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:57:1: note: expanded from here
57 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1053:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:114:1: note: expanded from here
114 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1053:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1053:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1053:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1060:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1060 | MONITOR_LOG(server_monitor, "server check duration (us): %" PRId64, duration_us);
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:26:1: note: expanded from here
26 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1060:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1060:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:119:1: note: expanded from here
119 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1060:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1060:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:212:1: note: expanded from here
212 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1082:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1082 | MONITOR_LOG(server_monitor, "server monitor cancelled");
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:248:1: note: expanded from here
248 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1082:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:51:1: note: expanded from here
51 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1082:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:87:1: note: expanded from here
87 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1082:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:123:1: note: expanded from here
123 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1082:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:180:1: note: expanded from here
180 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1122:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1122 | MONITOR_LOG(server_monitor, "requesting scan");
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:216:1: note: expanded from here
216 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1122:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1122:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1122:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1122:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1137:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1137 | MONITOR_LOG(server_monitor, "requesting cancel");
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:198:1: note: expanded from here
198 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1137:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1137:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1137:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:88:1: note: expanded from here
88 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1137:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1178:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1178 | MONITOR_LOG(server_monitor, "sleeping for %" PRId64, sleep_duration_ms);
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1178:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1178:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:40:1: note: expanded from here
40 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1178:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:76:1: note: expanded from here
76 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1178:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:133:1: note: expanded from here
133 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1226:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1226 | MONITOR_LOG(server_monitor, "immediately proceeding due to topologyVersion");
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:181:1: note: expanded from here
181 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1226:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:238:1: note: expanded from here
238 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1226:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1226:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1226:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1232:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1232 | MONITOR_LOG(server_monitor, "immediately proceeding due to moreToCome");
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1232:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:223:1: note: expanded from here
223 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1232:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1232:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:41:1: note: expanded from here
41 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1232:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1239:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1239 | MONITOR_LOG(server_monitor, "immediately proceeding due to network error");
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1239:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:191:1: note: expanded from here
191 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1239:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1239:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1239:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:67:1: note: expanded from here
67 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1265:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1265 | MONITOR_LOG(server_monitor, "rtt setting up connection");
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1265:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1265:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:202:1: note: expanded from here
202 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1265:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:238:1: note: expanded from here
238 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1265:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1271:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
1271 | MONITOR_LOG(server_monitor, "rtt polling hello");
| ^
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1271:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:127:7: note: expanded from macro 'MONITOR_LOG'
127 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1271:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:128:7: note: expanded from macro 'MONITOR_LOG'
128 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1271:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:214:1: note: expanded from here
214 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-server-monitor.c:1271:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
mongoc/mongoc-server-monitor.c:132:7: note: expanded from macro 'MONITOR_LOG'
132 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
231 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-topology-background-monitoring.c -o mongoc/mongoc-topology-background-monitoring.o
In file included from mongoc/mongoc-topology-background-monitoring.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-background-monitoring.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-background-monitoring.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-background-monitoring.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-background-monitoring.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:282:1: note: expanded from here
282 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-background-monitoring.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-background-monitoring.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-background-monitoring.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-background-monitoring.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-topology-background-monitoring.c:17:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:47:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
47 | TRACE("%s\n", "topology ineligible for SRV polling, stopping");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:47:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:47:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:47:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:222:1: note: expanded from here
222 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:47:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:60:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
60 | TRACE("srv polling thread sleeping for %" PRId64 "ms", sleep_duration_ms);
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:60:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:60:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:60:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:60:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:143:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
143 | TRACE("%s", "background monitoring starting");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:48:1: note: expanded from here
48 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:143:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:105:1: note: expanded from here
105 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:143:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:141:1: note: expanded from here
141 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:143:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:143:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:151:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
151 | TRACE("%s", "disabling monitoring for load balanced topology");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:151:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:151:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:151:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:151:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:222:1: note: expanded from here
222 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:288:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
288 | TRACE("%s", "background monitoring stopping");
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:21:1: note: expanded from here
21 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:288:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:78:1: note: expanded from here
78 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:288:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:114:1: note: expanded from here
114 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:288:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:151:1: note: expanded from here
151 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-topology-background-monitoring.c:288:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:208:1: note: expanded from here
208 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
35 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c common/common-thread.c -o common/common-thread.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-optional.c -o mongoc/mongoc-optional.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-server-api.c -o mongoc/mongoc-server-api.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-http.c -o mongoc/mongoc-http.o
In file included from mongoc/mongoc-http.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-http.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-http.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:286:1: note: expanded from here
286 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-http.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:33:1: note: expanded from here
33 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-http.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:68:1: note: expanded from here
68 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-http.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-http.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-http.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:132:1: note: expanded from here
132 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-http.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:167:1: note: expanded from here
167 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-http.c:19:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:322:1: note: expanded from here
322 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-ocsp-cache.c -o mongoc/mongoc-ocsp-cache.o
mongoc/mongoc-ocsp-cache.c:49:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
49 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:170:1: note: expanded from here
170 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:49:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:49:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:49:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:49:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:150:1: note: expanded from here
150 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:51:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
51 | RETURN(1);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:186:1: note: expanded from here
186 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:51:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:243:1: note: expanded from here
243 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:51:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:23:1: note: expanded from here
23 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:51:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:51:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:117:1: note: expanded from here
117 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:53:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
53 | RETURN(OCSP_id_cmp(out->id, id));
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:153:1: note: expanded from here
153 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:53:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:210:1: note: expanded from here
210 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:53:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:53:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:53:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:84:1: note: expanded from here
84 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:60:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
60 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:60:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:177:1: note: expanded from here
177 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:60:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:60:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:60:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:49:1: note: expanded from here
49 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:63:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
63 | RETURN(iter);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:63:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:142:1: note: expanded from here
142 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:63:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:178:1: note: expanded from here
178 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:63:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:63:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:27:1: note: expanded from here
27 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:82:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
82 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:82:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:120:1: note: expanded from here
120 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:82:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:156:1: note: expanded from here
156 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:82:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:193:1: note: expanded from here
193 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:82:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:250:1: note: expanded from here
250 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:113:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
113 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:38:1: note: expanded from here
38 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:113:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:113:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:131:1: note: expanded from here
131 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:113:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:168:1: note: expanded from here
168 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:113:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:138:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
138 | RETURN(counter);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:24:1: note: expanded from here
24 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:138:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:81:1: note: expanded from here
81 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:138:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:117:1: note: expanded from here
117 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:138:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:138:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:158:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
158 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:247:1: note: expanded from here
247 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:158:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:158:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:158:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:158:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:185:1: note: expanded from here
185 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:162:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
162 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:162:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:36:1: note: expanded from here
36 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:162:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:72:1: note: expanded from here
72 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:162:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:162:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:166:1: note: expanded from here
166 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:169:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
169 | GOTO(done);
| ^
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:203:1: note: expanded from here
203 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:169:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:92:7: note: expanded from macro 'GOTO'
92 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:169:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:93:7: note: expanded from macro 'GOTO'
93 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:169:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:169:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:98:7: note: expanded from macro 'GOTO'
98 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:185:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
185 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:189:1: note: expanded from here
189 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:185:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:185:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:28:1: note: expanded from here
28 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:185:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:65:1: note: expanded from here
65 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:185:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:122:1: note: expanded from here
122 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:193:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
193 | ENTRY;
| ^
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:158:1: note: expanded from here
158 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:193:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:59:7: note: expanded from macro 'ENTRY'
59 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:215:1: note: expanded from here
215 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:193:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:60:7: note: expanded from macro 'ENTRY'
60 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:193:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-ocsp-cache.c:193:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:64:7: note: expanded from macro 'ENTRY'
64 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:92:1: note: expanded from here
92 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
65 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-shared.c -o mongoc/mongoc-shared.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-ts-pool.c -o mongoc/mongoc-ts-pool.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c utf8proc/utf8proc.c -o utf8proc/utf8proc.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-structured-log.c -o mongoc/mongoc-structured-log.o
In file included from mongoc/mongoc-structured-log.c:26:
In file included from ./mongoc/mongoc-structured-log-private.h:27:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:231:1: note: expanded from here
231 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-structured-log.c:26:
In file included from ./mongoc/mongoc-structured-log-private.h:27:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:56:1: note: expanded from here
56 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-structured-log.c:26:
In file included from ./mongoc/mongoc-structured-log-private.h:27:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-structured-log.c:26:
In file included from ./mongoc/mongoc-structured-log-private.h:27:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:134:1: note: expanded from here
134 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-structured-log.c:26:
In file included from ./mongoc/mongoc-structured-log-private.h:27:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-structured-log.c:26:
In file included from ./mongoc/mongoc-structured-log-private.h:27:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:229:1: note: expanded from here
229 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-structured-log.c:26:
In file included from ./mongoc/mongoc-structured-log-private.h:29:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-structured-log.c:26:
In file included from ./mongoc/mongoc-structured-log-private.h:29:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:211:1: note: expanded from here
211 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-structured-log.c:26:
In file included from ./mongoc/mongoc-structured-log-private.h:29:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-structured-log.c:26:
In file included from ./mongoc/mongoc-structured-log-private.h:29:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-structured-log.c:30:
common/mlib/intencode.h:166:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
166 | mlib_static_assert(sizeof(double) == sizeof(uint64_t));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:95:1: note: expanded from here
95 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
11 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-log-and-monitor-private.c -o mongoc/mongoc-log-and-monitor-private.o
In file included from mongoc/mongoc-log-and-monitor-private.c:21:
In file included from ./mongoc/mongoc-structured-log-private.h:27:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:42:1: note: expanded from here
42 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-log-and-monitor-private.c:21:
In file included from ./mongoc/mongoc-structured-log-private.h:27:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:157:1: note: expanded from here
157 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-log-and-monitor-private.c:21:
In file included from ./mongoc/mongoc-structured-log-private.h:27:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:200:1: note: expanded from here
200 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-log-and-monitor-private.c:21:
In file included from ./mongoc/mongoc-structured-log-private.h:27:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:235:1: note: expanded from here
235 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-log-and-monitor-private.c:21:
In file included from ./mongoc/mongoc-structured-log-private.h:27:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:316:1: note: expanded from here
316 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-log-and-monitor-private.c:21:
In file included from ./mongoc/mongoc-structured-log-private.h:27:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:32:1: note: expanded from here
32 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-log-and-monitor-private.c:21:
In file included from ./mongoc/mongoc-structured-log-private.h:29:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-log-and-monitor-private.c:21:
In file included from ./mongoc/mongoc-structured-log-private.h:29:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-log-and-monitor-private.c:21:
In file included from ./mongoc/mongoc-structured-log-private.h:29:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-log-and-monitor-private.c:21:
In file included from ./mongoc/mongoc-structured-log-private.h:29:
In file included from ./mongoc/mongoc-read-prefs-private.h:27:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c common/common-oid.c -o common/common-oid.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c common/common-json.c -o common/common-json.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c common/common-string.c -o common/common-string.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-oidc-cache.c -o mongoc/mongoc-oidc-cache.o
In file included from mongoc/mongoc-oidc-cache.c:25:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-oidc-cache.c:25:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:149:1: note: expanded from here
149 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-oidc-cache.c:25:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:192:1: note: expanded from here
192 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-oidc-cache.c:25:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:227:1: note: expanded from here
227 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-oidc-cache.c:25:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:293:1: note: expanded from here
293 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-oidc-cache.c:25:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-oidc-cache.c:26:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:45:1: note: expanded from here
45 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-oidc-cache.c:26:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
8 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-oidc-callback.c -o mongoc/mongoc-oidc-callback.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-oidc-env.c -o mongoc/mongoc-oidc-env.o
In file included from mongoc/mongoc-oidc-env.c:18:
In file included from ./mongoc/mongoc-util-private.h:30:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:262:1: note: expanded from here
262 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-oidc-env.c:18:
In file included from ./mongoc/mongoc-util-private.h:30:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:85:1: note: expanded from here
85 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-oidc-env.c:18:
In file included from ./mongoc/mongoc-util-private.h:30:
In file included from common/mlib/str.h:27:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:128:1: note: expanded from here
128 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-oidc-env.c:20:
In file included from ./mongoc/mcd-azure.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:121:1: note: expanded from here
121 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-oidc-env.c:20:
In file included from ./mongoc/mcd-azure.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:196:1: note: expanded from here
196 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-oidc-env.c:20:
In file included from ./mongoc/mcd-azure.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:232:1: note: expanded from here
232 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-oidc-env.c:20:
In file included from ./mongoc/mcd-azure.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:267:1: note: expanded from here
267 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-oidc-env.c:20:
In file included from ./mongoc/mcd-azure.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:246:1: note: expanded from here
246 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-oidc-env.c:20:
In file included from ./mongoc/mcd-azure.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:281:1: note: expanded from here
281 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-oidc-env.c:20:
In file included from ./mongoc/mcd-azure.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-cluster-oidc.c -o mongoc/mongoc-cluster-oidc.o
In file included from mongoc/mongoc-cluster-oidc.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:37:1: note: expanded from here
37 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-oidc.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:152:1: note: expanded from here
152 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-oidc.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:195:1: note: expanded from here
195 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-oidc.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:230:1: note: expanded from here
230 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-oidc.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:293:1: note: expanded from here
293 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-oidc.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:24:
In file included from ./mongoc/mongoc-cmd-private.h:30:
In file included from ./mongoc/mongoc-opts-private.h:23:
In file included from ./mongoc/mongoc-opts-helpers-private.h:19:
In file included from ./mongoc/mongoc-client-session-private.h:26:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:10:1: note: expanded from here
10 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-oidc.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:34:1: note: expanded from here
34 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-oidc.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-oidc.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:39:1: note: expanded from here
39 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-cluster-oidc.c:18:
In file included from ./mongoc/mongoc-client-private.h:28:
In file included from ./mongoc/mongoc-cluster-private.h:34:
In file included from ./mongoc/mongoc-topology-private.h:32:
In file included from ./mongoc/mongoc-topology-scanner-private.h:30:
In file included from ./mongoc/mongoc-async-cmd-private.h:23:
In file included from ./mongoc/mongoc-async-private.h:28:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:194:1: note: expanded from here
194 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:38:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
38 | bsonBuildDecl(jwt_doc, kv("jwt", cstr(access_token)));
| ^
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:300:1: note: expanded from here
300 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:38:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:55:1: note: expanded from here
55 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:38:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:38:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:145:1: note: expanded from here
145 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:38:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:181:1: note: expanded from here
181 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:38:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:225:1: note: expanded from here
225 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:38:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:35:1: note: expanded from here
35 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:45:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | bsonBuild(*cmd,
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:99:1: note: expanded from here
99 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:45:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:154:1: note: expanded from here
154 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:45:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:190:1: note: expanded from here
190 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:45:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:11:1: note: expanded from here
11 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:45:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:47:1: note: expanded from here
47 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:45:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:91:1: note: expanded from here
91 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:45:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:146:1: note: expanded from here
146 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:85:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
85 | bsonBuildDecl(jwt_doc, kv("jwt", cstr(access_token)));
| ^
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:20:1: note: expanded from here
20 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:85:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:75:1: note: expanded from here
75 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:85:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:111:1: note: expanded from here
111 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:85:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:85:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:201:1: note: expanded from here
201 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:85:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 9 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:85:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:893:4: note: expanded from macro 'bsonBuildDecl'
893 | bsonBuild(Variable, __VA_ARGS__)
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:52:1: note: expanded from here
52 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:91:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
91 | bsonBuild(cmd,
| ^
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:116:1: note: expanded from here
116 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:91:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:171:1: note: expanded from here
171 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:91:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:207:1: note: expanded from here
207 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:91:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:24:1: note: expanded from here
24 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:91:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:862:4: note: expanded from macro '_bsonBuildAppend'
862 | _bsonDSL_disableWarnings(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:60:1: note: expanded from here
60 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:91:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
note: (skipping 8 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:91:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:885:4: note: expanded from macro 'bsonBuild'
885 | bsonBuildAppend(*_bbDest, __VA_ARGS__); \
| ^
common/common-bson-dsl-private.h:859:50: note: expanded from macro 'bsonBuildAppend'
859 | #define bsonBuildAppend(BSON, ...) _bsonDSL_eval(_bsonBuildAppend(BSON, __VA_ARGS__))
| ^
common/common-bson-dsl-private.h:874:4: note: expanded from macro '_bsonBuildAppend'
874 | _bsonDSL_restoreWarnings(); \
| ^
note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:159:1: note: expanded from here
159 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:122:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
122 | bsonParse(reply, require(allOf(key("done"), isTrue), nop));
| ^
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:16:1: note: expanded from here
16 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:122:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:42:7: note: expanded from macro '_bsonDSL_disableWarnings'
42 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:73:1: note: expanded from here
73 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:122:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:300:21: note: expanded from macro 'mlib_gnu_warning_disable'
300 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic ignored Warning);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:109:1: note: expanded from here
109 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:122:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:43:7: note: expanded from macro '_bsonDSL_disableWarnings'
43 | mlib_gnu_warning_disable("-Wshadow"); \
| ^
common/mlib/config.h:301:4: note: expanded from macro 'mlib_gnu_warning_disable'
301 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:165:1: note: expanded from here
165 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:122:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:61:4: note: expanded from macro 'bsonParse'
61 | _bsonDSL_disableWarnings(); \
| ^
common/common-bson-dsl-private.h:44:7: note: expanded from macro '_bsonDSL_disableWarnings'
44 | mlib_msvc_warning(disable : 4456); \
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:201:1: note: expanded from here
201 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:122:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
note: (skipping 6 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:89:1: note: expanded from here
89 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-cluster-oidc.c:122:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
common/common-bson-dsl-private.h:70:4: note: expanded from macro 'bsonParse'
70 | _bsonDSL_restoreWarnings(); \
| ^
common/common-bson-dsl-private.h:50:7: note: expanded from macro '_bsonDSL_restoreWarnings'
50 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:2:1: note: expanded from here
2 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
45 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-jitter-source.c -o mongoc/mongoc-jitter-source.o
In file included from mongoc/mongoc-jitter-source.c:17:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-jitter-source.c:17:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:270:1: note: expanded from here
270 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-jitter-source.c:17:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-jitter-source.c:17:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-jitter-source.c:17:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-jitter-source.c:17:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
6 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-retry-backoff-generator.c -o mongoc/mongoc-retry-backoff-generator.o
In file included from mongoc/mongoc-retry-backoff-generator.c:17:
In file included from ./mongoc/mongoc-retry-backoff-generator-private.h:22:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:155:1: note: expanded from here
155 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-retry-backoff-generator.c:17:
In file included from ./mongoc/mongoc-retry-backoff-generator-private.h:22:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:270:1: note: expanded from here
270 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-retry-backoff-generator.c:17:
In file included from ./mongoc/mongoc-retry-backoff-generator-private.h:22:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-retry-backoff-generator.c:17:
In file included from ./mongoc/mongoc-retry-backoff-generator-private.h:22:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:61:1: note: expanded from here
61 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-retry-backoff-generator.c:17:
In file included from ./mongoc/mongoc-retry-backoff-generator-private.h:22:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:101:1: note: expanded from here
101 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-retry-backoff-generator.c:17:
In file included from ./mongoc/mongoc-retry-backoff-generator-private.h:22:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:147:1: note: expanded from here
147 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
6 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mongoc-retryable-cmd.c -o mongoc/mongoc-retryable-cmd.o
In file included from mongoc/mongoc-retryable-cmd.c:18:
In file included from ./mongoc/mongoc-retry-backoff-generator-private.h:22:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:130:1: note: expanded from here
130 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-retryable-cmd.c:18:
In file included from ./mongoc/mongoc-retry-backoff-generator-private.h:22:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:245:1: note: expanded from here
245 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-retryable-cmd.c:18:
In file included from ./mongoc/mongoc-retry-backoff-generator-private.h:22:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:288:1: note: expanded from here
288 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-retryable-cmd.c:18:
In file included from ./mongoc/mongoc-retry-backoff-generator-private.h:22:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:31:1: note: expanded from here
31 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-retryable-cmd.c:18:
In file included from ./mongoc/mongoc-retry-backoff-generator-private.h:22:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:65:1: note: expanded from here
65 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-retryable-cmd.c:18:
In file included from ./mongoc/mongoc-retry-backoff-generator-private.h:22:
In file included from ./mongoc/mongoc-jitter-source-private.h:22:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:115:1: note: expanded from here
115 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-retryable-cmd.c:23:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:25:1: note: expanded from here
25 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mongoc-retryable-cmd.c:23:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:4:1: note: expanded from here
4 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-retryable-cmd.c:91:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
91 | TRACE("deprioritization: add to list: %s (id: %" PRIu32 ")",
| ^
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:83:1: note: expanded from here
83 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-retryable-cmd.c:91:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:43:7: note: expanded from macro 'TRACE'
43 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:140:1: note: expanded from here
140 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-retryable-cmd.c:91:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:44:7: note: expanded from macro 'TRACE'
44 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:176:1: note: expanded from here
176 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-retryable-cmd.c:91:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:213:1: note: expanded from here
213 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-retryable-cmd.c:91:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:53:7: note: expanded from macro 'TRACE'
53 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:19:1: note: expanded from here
19 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-retryable-cmd.c:116:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
116 | RETURN(ret);
| ^
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:286:21: note: expanded from macro 'mlib_diagnostic_push'
286 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic push);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-retryable-cmd.c:116:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:81:7: note: expanded from macro 'RETURN'
81 | mlib_diagnostic_push(); \
| ^
common/mlib/config.h:288:4: note: expanded from macro 'mlib_diagnostic_push'
288 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:126:1: note: expanded from here
126 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-retryable-cmd.c:116:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:82:7: note: expanded from macro 'RETURN'
82 | mlib_disable_constant_conditional_expression_warnings(); \
| ^
common/mlib/config.h:391:65: note: expanded from macro 'mlib_disable_constant_conditional_expression_warnings'
391 | #define mlib_disable_constant_conditional_expression_warnings() mlib_msvc_warning(disable : 4127)
| ^
common/mlib/config.h:305:4: note: expanded from macro 'mlib_msvc_warning'
305 | mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:162:1: note: expanded from here
162 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-retryable-cmd.c:116:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:291:21: note: expanded from macro 'mlib_diagnostic_pop'
291 | MLIB_IF_GNU_LIKE(mlib_pragma(GCC diagnostic pop);) \
| ^
common/mlib/config.h:274:48: note: expanded from macro 'mlib_pragma'
274 | #define mlib_pragma(...) _Pragma(#__VA_ARGS__) mlib_static_assert(1, "")
| ^
note: (skipping 5 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:199:1: note: expanded from here
199 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
mongoc/mongoc-retryable-cmd.c:116:4: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
./mongoc/mongoc-trace-private.h:86:7: note: expanded from macro 'RETURN'
86 | mlib_diagnostic_pop(); \
| ^
common/mlib/config.h:293:4: note: expanded from macro 'mlib_diagnostic_pop'
293 | mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:256:1: note: expanded from here
256 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
18 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/service-gcp.c -o mongoc/service-gcp.o
In file included from mongoc/service-gcp.c:17:
In file included from ./mongoc/service-gcp.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/service-gcp.c:17:
In file included from ./mongoc/service-gcp.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:208:1: note: expanded from here
208 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/service-gcp.c:17:
In file included from ./mongoc/service-gcp.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/service-gcp.c:17:
In file included from ./mongoc/service-gcp.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:286:1: note: expanded from here
286 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/service-gcp.c:17:
In file included from ./mongoc/service-gcp.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/service-gcp.c:17:
In file included from ./mongoc/service-gcp.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/service-gcp.c:17:
In file included from ./mongoc/service-gcp.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/service-gcp.c:17:
In file included from ./mongoc/service-gcp.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/service-gcp.c:17:
In file included from ./mongoc/service-gcp.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/service-gcp.c:17:
In file included from ./mongoc/service-gcp.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:259:1: note: expanded from here
259 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c mongoc/mcd-azure.c -o mongoc/mcd-azure.o
In file included from mongoc/mcd-azure.c:17:
In file included from ./mongoc/mcd-azure.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:62:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
62 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:93:1: note: expanded from here
93 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mcd-azure.c:17:
In file included from ./mongoc/mcd-azure.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:234:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
234 | mlib_static_assert((intmax_t)UINTMAX_MAX == -1 //
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:208:1: note: expanded from here
208 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mcd-azure.c:17:
In file included from ./mongoc/mcd-azure.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
In file included from common/mlib/duration.h:32:
common/mlib/ckdint.h:679:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
679 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:251:1: note: expanded from here
251 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mcd-azure.c:17:
In file included from ./mongoc/mcd-azure.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:40:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
40 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:286:1: note: expanded from here
286 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mcd-azure.c:17:
In file included from ./mongoc/mcd-azure.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:286:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
286 | mlib_static_assert(sizeof(mlib_duration_rep_t) == sizeof(n.bits.as_signed));
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
common/mlib/config.h:180:38: note: expanded from macro 'MLIB_ARGC_PASTE'
180 | #define MLIB_ARGC_PASTE(Prefix, ...) MLIB_PASTE_3(Prefix, _argc_, MLIB_ARG_COUNT(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
<scratch space>:5:1: note: expanded from here
5 | _mlib_static_assert_argc_1
| ^
common/mlib/config.h:227:4: note: expanded from macro '_mlib_static_assert_argc_1'
227 | _mlib_static_assert_argc_2 ((Expr), "Static assertion failed")
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mcd-azure.c:17:
In file included from ./mongoc/mcd-azure.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:27:
common/mlib/duration.h:397:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
397 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:63:1: note: expanded from here
63 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mcd-azure.c:17:
In file included from ./mongoc/mcd-azure.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:45:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
45 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:98:1: note: expanded from here
98 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mcd-azure.c:17:
In file included from ./mongoc/mcd-azure.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
In file included from common/mlib/timer.h:28:
common/mlib/time_point.h:344:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
344 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:69:1: note: expanded from here
69 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mcd-azure.c:17:
In file included from ./mongoc/mcd-azure.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
common/mlib/timer.h:30:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
30 | mlib_extern_c_begin();
| ^
common/mlib/config.h:234:57: note: expanded from macro 'mlib_extern_c_begin'
234 | #define mlib_extern_c_begin() MLIB_IF_CXX(extern "C" {) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:104:1: note: expanded from here
104 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
In file included from mongoc/mcd-azure.c:17:
In file included from ./mongoc/mcd-azure.h:22:
In file included from ./mongoc/mongoc-http-private.h:24:
common/mlib/timer.h:167:1: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
167 | mlib_extern_c_end();
| ^
common/mlib/config.h:236:7: note: expanded from macro 'mlib_extern_c_end'
236 | }) mlib_static_assert(1, "")
| ^
common/mlib/config.h:225:33: note: expanded from macro 'mlib_static_assert'
225 | #define mlib_static_assert(...) MLIB_ARGC_PICK (_mlib_static_assert, __VA_ARGS__)
| ^
common/mlib/config.h:179:47: note: expanded from macro 'MLIB_ARGC_PICK'
179 | #define MLIB_ARGC_PICK(Prefix, ...) MLIB_JUST(MLIB_ARGC_PASTE(Prefix, __VA_ARGS__)(__VA_ARGS__))
| ^
note: (skipping 3 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
common/mlib/config.h:54:29: note: expanded from macro '_mlibPaste1'
54 | #define _mlibPaste1(A, ...) A##__VA_ARGS__
| ^
<scratch space>:259:1: note: expanded from here
259 | _mlib_static_assert_argc_2
| ^
common/mlib/config.h:230:49: note: expanded from macro '_mlib_static_assert_argc_2'
230 | MLIB_PASTE (_mlib_static_assert_placeholder, __COUNTER__)[(Expr) ? 2 : -1] \
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c kms/hexlify.c -o kms/hexlify.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c kms/kms_kv_list.c -o kms/kms_kv_list.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c kms/kms_request.c -o kms/kms_request.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c kms/kms_response.c -o kms/kms_response.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c kms/kms_b64.c -o kms/kms_b64.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c kms/kms_crypto_libcrypto.c -o kms/kms_crypto_libcrypto.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c kms/kms_decrypt_request.c -o kms/kms_decrypt_request.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c kms/kms_message.c -o kms/kms_message.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c kms/kms_request_opt.c -o kms/kms_request_opt.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c kms/kms_response_parser.c -o kms/kms_response_parser.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c kms/kms_caller_identity_request.c -o kms/kms_caller_identity_request.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c kms/kms_encrypt_request.c -o kms/kms_encrypt_request.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c kms/kms_request_str.c -o kms/kms_request_str.o
clang-22 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -Icommon -Ikms -Iutf8proc -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DKMS_MESSAGE_ENABLE_CRYPTO -DKMS_MESSAGE_ENABLE_CRYPTO_LIBCRYPTO -D_DARWIN_C_SOURCE -DBSON_COMPILATION -DMONGOC_COMPILATION -DOPENSSL_SUPPRESS_DEPRECATED -DMONGOC_HAVE_SASL_CLIENT_DONE -DBSON_EXTRA_ALIGN -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c kms/sort.c -o kms/sort.o
ar rcs mongoc/libstatmongoc.a bson/bson-bcon.o bson/bson-clock.o bson/bson-context.o common/common-md5.o bson/error.o bson/bson-iso8601.o bson/bson-iter.o bson/bson-json.o bson/bson-keys.o bson/memory.o bson/bson-oid.o bson/bson-reader.o bson/bson-string.o bson/bson-timegm.o bson/bson-utf8.o bson/bson-value.o bson/bson.o bson/bson-decimal128.o bson/bson-vector.o bson/validate.o jsonsl/jsonsl.o mongoc/mongoc-array.o common/common-b64.o mongoc/mongoc-buffer.o mongoc/mongoc-bulk-operation.o mongoc/mongoc-client-pool.o mongoc/mongoc-client.o mongoc/mongoc-cluster.o mongoc/mongoc-collection.o mongoc/mongoc-counters.o mongoc/mongoc-cursor-array.o mongoc/mongoc-cursor.o mongoc/mongoc-database.o mongoc/mongoc-gridfs-file-list.o mongoc/mongoc-gridfs-file-page.o mongoc/mongoc-gridfs-file.o mongoc/mongoc-gridfs.o mongoc/mongoc-stream-gridfs.o mongoc/mongoc-init.o mongoc/mongoc-list.o mongoc/mongoc-log.o mongoc/mongoc-rand-openssl.o mongoc/mongoc-read-prefs.o mongoc/mongoc-rpc.o mongoc/mongoc-sasl.o mongoc/mongoc-scram.o mongoc/mongoc-socket.o mongoc/mongoc-ssl.o mongoc/mongoc-stream-buffered.o mongoc/mongoc-stream-socket.o mongoc/mongoc-stream-tls.o mongoc/mongoc-stream.o mongoc/mongoc-uri.o mongoc/mongoc-util.o mongoc/mongoc-write-command.o mongoc/mongoc-write-concern.o mongoc/mongoc-topology-description-apm.o mongoc/mongoc-async.o mongoc/mongoc-async-cmd.o mongoc/mongoc-host-list.o mongoc/mongoc-set.o mongoc/mongoc-server-description.o mongoc/mongoc-topology-description.o mongoc/mongoc-topology.o mongoc/mongoc-topology-scanner.o mongoc/mongoc-version-functions.o mongoc/mongoc-memcmp.o mongoc/mongoc-server-stream.o mongoc/mongoc-find-and-modify.o mongoc/mongoc-read-concern.o mongoc/mongoc-openssl.o mongoc/mongoc-apm.o mongoc/mongoc-crypto.o mongoc/mongoc-crypto-common-crypto.o mongoc/mongoc-crypto-openssl.o mongoc/mongoc-handshake.o mongoc/mongoc-stream-tls-openssl.o mongoc/mongoc-stream-tls-openssl-bio.o mongoc/mongoc-cluster-sasl.o mongoc/mongoc-cmd.o mongoc/mongoc-change-stream.o mongoc/mongoc-client-session.o mongoc/mongoc-cluster-cyrus.o mongoc/mongoc-compression.o mongoc/mongoc-cyrus.o mongoc/mongoc-linux-distro-scanner.o mongoc/mongoc-stream-file.o mongoc/mcd-rpc.o mongoc/mongoc-deprioritized-servers.o mongoc/mongoc-opts.o mongoc/mongoc-opts-helpers.o mongoc/mongoc-cursor-cmd.o mongoc/mongoc-cursor-find.o mongoc/mongoc-error.o mongoc/mongoc-aggregate.o mongoc/mongoc-client-side-encryption.o mongoc/mongoc-cursor-change-stream.o mongoc/mongoc-change-stream.o mongoc/mongoc-cluster-aws.o mongoc/mongoc-generation-map.o mongoc/mongoc-timeout.o mongoc/mongoc-server-monitor.o mongoc/mongoc-topology-background-monitoring.o common/common-thread.o mongoc/mongoc-optional.o mongoc/mongoc-server-api.o mongoc/mongoc-http.o mongoc/mongoc-ocsp-cache.o mongoc/mongoc-shared.o mongoc/mongoc-ts-pool.o utf8proc/utf8proc.o mongoc/mongoc-structured-log.o mongoc/mongoc-log-and-monitor-private.o common/common-oid.o common/common-json.o common/common-string.o mongoc/mongoc-oidc-cache.o mongoc/mongoc-oidc-callback.o mongoc/mongoc-oidc-env.o mongoc/mongoc-cluster-oidc.o mongoc/mongoc-jitter-source.o mongoc/mongoc-retry-backoff-generator.o mongoc/mongoc-retryable-cmd.o mongoc/service-gcp.o mongoc/mcd-azure.o kms/hexlify.o kms/kms_kv_list.o kms/kms_request.o kms/kms_response.o kms/kms_b64.o kms/kms_crypto_libcrypto.o kms/kms_decrypt_request.o kms/kms_message.o kms/kms_request_opt.o kms/kms_response_parser.o kms/kms_caller_identity_request.o kms/kms_encrypt_request.o kms/kms_request_str.o kms/sort.o
clang-22 -std=gnu23 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o mongolite.so bson.o client.o collection.o cursor.o gridfs.o hex.o mongo_log.o reader.o utils.o -Lmongoc -lstatmongoc -lsasl2 -lssl -lcrypto -lresolv -lz -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp61gw2h/R.INSTALL183f5de1fc943/mongolite/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp61gw2h/R.INSTALL183f5de1fc943/mongolite/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp61gw2h/R.INSTALL183f5de1fc943/mongolite/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-mongolite/00new/mongolite/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** 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 (mongolite)